This commit is contained in:
Sorunome 2021-09-22 15:27:53 +02:00
parent b079e786c7
commit daf7de8f99
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C

View File

@ -307,7 +307,10 @@ docker-branches:
- docker build --pull -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}" -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}" .
- docker push "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}"
rules:
- if: $CI_COMMIT_TAG == null
- if: $CI_COMMIT_TAG != null
when: never
- when: always
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
allow_failure: true