Skip to content
Snippets Groups Projects
Commit 2dc096d6 authored by Emanuele Aina's avatar Emanuele Aina
Browse files

gilab-ci: Apply all `latest` tags once everything else succeeded


By applying `latest` tags as soon as the relevant image has been built
we end up with a quite large time window where they are all quite out
of sync: in particular, the tag is applied to the `base` image as soon
as it is ready, before all the depending images get built.

On top of that, if depending images fail, the `latest` tags will stay
out of sync.

This can be quite confusing for users, so let's apply the `latest` tag
only after all the previous stages have completed.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent aa6fd73d
No related branches found
No related tags found
2 merge requests!162Apply the `latest` tag in a more consistent way,!93WIP: documentation-builder: Rebase on Apertis instead of Debian Buster
Pipeline #182950 passed
......@@ -178,56 +178,41 @@ test-flatdeb-builder:
publish-base-docker-image:
extends: .publish-docker-image
stage: publish images
needs:
- build-base-docker-image
variables:
image: base
publish-package-builder-docker-image:
extends: .publish-docker-image
stage: publish images
needs:
- build-package-builder-docker-image
variables:
image: package-builder
publish-package-source-builder-docker-image:
extends: .publish-docker-image
stage: publish images
needs:
- build-package-source-builder-docker-image
variables:
image: package-source-builder
publish-documentation-builder-docker-image:
extends: .publish-docker-image
stage: publish images
needs:
- build-documentation-builder-docker-image
variables:
image: documentation-builder
publish-testcases-builder-docker-image:
extends: .publish-docker-image
stage: publish images
needs:
- build-testcases-builder-docker-image
variables:
image: testcases-builder
publish-image-builder-docker-image:
extends: .publish-docker-image
stage: publish images
needs:
- test-image-builder-shared-runner
- test-image-builder-kvm-runner
variables:
image: image-builder
publish-flatdeb-builder-docker-image:
extends: .publish-docker-image
stage: publish images
needs:
- test-flatdeb-builder
variables:
image: flatdeb-builder
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment