Commit ab6cf0ec authored by Christian's avatar Christian 💬

Update .gitlab-ci.yml

parent 8f09c7a3
......@@ -23,10 +23,10 @@ variables:
extends: .tpl:default
image: docker:stable
before_script:
- "docker login -u gitlab-ci-token -p $CI_JOB_TOKEN ${CI_REGISTRY}"
- 'docker login -u gitlab-ci-token -p $CI_JOB_TOKEN ${CI_REGISTRY}'
after_script:
- "docker logout ${CI_REGISTRY}"
- "docker image prune -a -f"
- 'docker logout ${CI_REGISTRY}'
- 'docker image prune -a -f'
#
# -> Jobs
......@@ -39,7 +39,8 @@ deploy:
- 'apk add --no-cache curl'
- 'curl "${rootfsurl}" > rootfs.tar.gz'
- 'echo "${rootfssha256sum} rootfs.tar.gz" | sha256sum -c &> /dev/null || exit 98'
- 'ls -lisahF'
- 'chmod a+x build.sh'
- "./build.sh --rootfstarfile rootfs.tar.gz --imagename ${pushtag}"
- './build.sh --rootfstarfile rootfs.tar.gz --imagename ${pushtag}'
- 'rm -f rootfs.tar.gz'
- "docker push ${pushtag}"
- 'docker push ${pushtag}'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment