docker: release master to latest

This commit is contained in:
5chdn 2018-09-11 11:03:30 +02:00
parent 850abdddbb
commit d27bfd9bd7
No known key found for this signature in database
GPG Key ID: 1A40871B597F5F80
2 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ publish-linux-snap-armhf:
publish-docker-parity-amd64: &publish_docker
stage: publish
only: *publishable_branches
only: *releaseable_branches
cache: {}
dependencies:
- build-linux-ubuntu-amd64

View File

@ -3,7 +3,7 @@
set -e # fail on any error
set -u # treat unset variables as error
if [ "$CI_COMMIT_REF_NAME" == "beta" ];
if [ "$CI_COMMIT_REF_NAME" == "master" ];
then export DOCKER_BUILD_TAG="latest";
else export DOCKER_BUILD_TAG=$CI_COMMIT_REF_NAME;
fi