Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mdshow
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
mdshow
Commits
5f805730
Commit
5f805730
authored
2 years ago
by
jurgenhaas
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 'main'
Merging develop into main See merge request
!3
parents
1a292618
a1d0d289
No related branches found
No related tags found
1 merge request
!3
Merging develop into main
Pipeline
#715617
passed
2 years ago
Stage: build
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
.gitlab-ci.yml
+7
-2
7 additions, 2 deletions
.gitlab-ci.yml
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
bin/mdshow
+3
-3
3 additions, 3 deletions
bin/mdshow
with
15 additions
and
7 deletions
.gitignore
+
3
−
0
View file @
5f805730
.idea/
archive/
/.ahoy.l3d
/.ahoy.yml
/.env
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
7
−
2
View file @
5f805730
...
...
@@ -3,13 +3,18 @@ include:
ref
:
main
file
:
'
/tagrelease.yml'
variables
:
VERSION
:
${CI_COMMIT_TAG}
before_script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-master
:
stage
:
build
script
:
-
docker build -t $CI_REGISTRY_IMAGE .
-
docker push $CI_REGISTRY_IMAGE
-
docker build --pull --build-arg VERSION=${VERSION} -t ${CI_REGISTRY_IMAGE}:${VERSION} .
-
docker push ${CI_REGISTRY_IMAGE}:${VERSION}
-
docker tag ${CI_REGISTRY_IMAGE}:${VERSION} ${CI_REGISTRY_IMAGE}:latest
-
docker push ${CI_REGISTRY_IMAGE}:latest
only
:
-
tags
This diff is collapsed.
Click to expand it.
Dockerfile
+
2
−
2
View file @
5f805730
FROM
ubuntu:20.04
ARG
VERSION
=0.9.0
ARG
VERSION
LABEL
com.example.vendor="LakeDrops" \
maintainer="juergen.haas@lakedrops.com" \
...
...
@@ -17,7 +17,7 @@ RUN echo "Adding system components" && \
libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1
\
libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1
\
libxss1 libxtst6 lsb-release wget xdg-utils
&&
\
curl
-L
-o
pandoc.deb https://github.com/jgm/pandoc/releases/download/2.9.2
.1
/pandoc-2.9.2
.1
-1-amd64.deb
&&
\
curl
-L
-o
pandoc.deb https://github.com/jgm/pandoc/releases/download/2.
1
9.2/pandoc-2.
1
9.2-1-amd64.deb
&&
\
dpkg
-i
pandoc.deb
&&
\
rm
pandoc.deb
...
...
This diff is collapsed.
Click to expand it.
bin/mdshow
+
3
−
3
View file @
5f805730
...
...
@@ -92,11 +92,11 @@ $(MDSHOW_CONFIG)/reveal.js/dist/fontawesome:
$(MDSHOW_CONFIG)/reveal.js
:
mkdir
-p
$@
curl
-L
https://github.com/hakimel/reveal.js/archive/4.
1
.0.zip
-o
$@
/revealjs.zip
curl
-L
https://github.com/hakimel/reveal.js/archive/
refs/tags/
4.
4
.0.zip
-o
$@
/revealjs.zip
unzip
$@
/revealjs.zip
-d
$@
rm
$@
/revealjs.zip
mv
$@
/reveal.js-4.
1
.0/.??
*
$@
/reveal.js-4.
1
.0/
*
$@
rmdir
$@
/reveal.js-4.
1
.0
mv
$@
/reveal.js-4.
4
.0/.??
*
$@
/reveal.js-4.
4
.0/
*
$@
rmdir
$@
/reveal.js-4.
4
.0
cd
$@
&&
\
npm
install
&&
npm add node-jq decktape gulp
# workarounds for the new reveal-js release
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment