using right branch

This commit is contained in:
Mylloon 2021-08-08 02:38:54 +02:00
parent 23b498569f
commit c1770b88bb

View file

@ -36,7 +36,7 @@ Push latest:
GIT_STRATEGY: none GIT_STRATEGY: none
stage: push stage: push
only: only:
- latest - main
script: script:
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA - docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:latest - docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:latest