Merge branch 'ci-fix-tag-pipelines' into 'next'

Ci fix tag pipelines

Closes #229

See merge request famedly/conduit!307
This commit is contained in:
Jonas Zohren 2022-02-15 10:56:25 +00:00
commit e04d4ff150

View File

@ -220,6 +220,20 @@ docker:master:dockerhub:
variables: variables:
TAG: "$DOCKER_HUB_IMAGE/matrixconduit/matrix-conduit:latest" TAG: "$DOCKER_HUB_IMAGE/matrixconduit/matrix-conduit:latest"
docker:tags:gitlab:
extends: .docker-shared-settings
rules:
- if: "$CI_COMMIT_TAG"
variables:
TAG: "$CI_REGISTRY_IMAGE/matrix-conduit:$CI_COMMIT_TAG"
docker:tags:dockerhub:
extends: .docker-shared-settings
rules:
- if: "$CI_COMMIT_TAG && $DOCKER_HUB"
variables:
TAG: "$DOCKER_HUB_IMAGE/matrixconduit/matrix-conduit:$CI_COMMIT_TAG"
# --------------------------------------------------------------------- # # --------------------------------------------------------------------- #
# Run tests # # Run tests #
# --------------------------------------------------------------------- # # --------------------------------------------------------------------- #
@ -313,3 +327,4 @@ workflow:
- if: "$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS" - if: "$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS"
when: never when: never
- if: "$CI_COMMIT_BRANCH" - if: "$CI_COMMIT_BRANCH"
- if: "$CI_COMMIT_TAG"