1
0
Fork 0

Fix CI condition for new default branch

This commit is contained in:
Sheogorath 2021-03-16 19:10:12 +01:00
parent 8065152452
commit e36ea2f7f7
No known key found for this signature in database
GPG key ID: C9B1C80737B9CE18

View file

@ -44,6 +44,5 @@ tagging-master:
- podman pull "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
- si-tagging -l "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" "$CI_REGISTRY_IMAGE" "$(grep -e 'FROM docker.io/gitlab/gitlab-runner:v' Dockerfile | sed -e 's/.*:v//')"
- podman images --format "{{.Repository}}:{{.Tag}}" "$CI_REGISTRY_IMAGE" | grep "$CI_REGISTRY_IMAGE" | xargs -L 1 podman push
only:
- master
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'