1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-12-27 14:14:35 +01:00

fix(ci): Also create versioned docker image

This commit is contained in:
Jonas Zohren 2022-02-15 11:17:32 +01:00
parent 9cfef51af3
commit 77f4b68c8e
No known key found for this signature in database
GPG key ID: FE3ED5D90A175463

View file

@ -220,6 +220,20 @@ docker:master:dockerhub:
variables:
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 #
# --------------------------------------------------------------------- #