gitlab: fix logic for changing docker tag on stable branches
This fixes:
commit e28112d007
Author: Daniel P. Berrangé <berrange@redhat.com>
Date: Thu Jun 8 17:40:16 2023 +0100
gitlab: stable staging branches publish containers in a separate tag
Due to a copy+paste mistake, that commit included "QEMU_JOB_SKIPPED"
in the final rule that was meant to be a 'catch all' for staging
branches.
As a result stable branches are still splattering dockers from the
primary development branch.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Tested-by: Michael Tokarev <mjt@tls.msk.ru>
Message-ID: <20240906140958.84755-1-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
790761c432
commit
8d5ab746b1
@ -128,7 +128,7 @@ variables:
|
|||||||
when: manual
|
when: manual
|
||||||
|
|
||||||
# Jobs can run if any jobs they depend on were successful
|
# Jobs can run if any jobs they depend on were successful
|
||||||
- if: '$QEMU_JOB_SKIPPED && $CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_BRANCH =~ /staging-[[:digit:]]+\.[[:digit:]]/'
|
- if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_BRANCH =~ /staging-[[:digit:]]+\.[[:digit:]]/'
|
||||||
when: on_success
|
when: on_success
|
||||||
variables:
|
variables:
|
||||||
QEMU_CI_CONTAINER_TAG: $CI_COMMIT_REF_SLUG
|
QEMU_CI_CONTAINER_TAG: $CI_COMMIT_REF_SLUG
|
||||||
|
Loading…
Reference in New Issue
Block a user