Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
docker-multiarch
writefreely
Commits
697c41be
Commit
697c41be
authored
Aug 06, 2021
by
Micha Gläß-Stöcker
Browse files
use the correct var to download the release archive from github
parent
2145909d
Pipeline
#2258
failed with stage
in 4 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
697c41be
...
...
@@ -21,7 +21,7 @@ build:
LATEST_DHUB=$(wget -q https://registry.hub.docker.com/v1/repositories/$D_IMAGE_TAG/tags -O - | sed -e 's/[][]//g' -e 's/"//g' -e 's/ //g' | tr '}' '\n' | awk -F: '{print $3}' | tail -n1);
if [ "$LATEST_GITHUB" != "$LATEST_DHUB" ]
then
wget https://github.com/writefreely/writefreely/archive/${
VERSION
}.tar.gz -O /tmp/writefreely.tar.gz
wget https://github.com/writefreely/writefreely/archive/${
LATEST_GITHUB
}.tar.gz -O /tmp/writefreely.tar.gz
tar xf /tmp/writefreely.tar.gz --strip-components=1
sed -i 's/nodejs-npm/npm/g' Dockerfile
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment