mirror of
https://git.netzspielplatz.de/docker-multiarch/writefreely.git
synced 2025-11-08 17:09:24 +00:00
use the correct var to download the release archive from github
This commit is contained in:
parent
2145909d9f
commit
697c41be7f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue