diff --git a/.github/workflows/pulp_images.yml b/.github/workflows/pulp_images.yml index 3b758a39..f209277c 100644 --- a/.github/workflows/pulp_images.yml +++ b/.github/workflows/pulp_images.yml @@ -325,6 +325,14 @@ jobs: else tags="${BASE_BRANCH} ${BASE_VERSION}" fi + # Workaround the fact that the latest branch no longer pushes pulp-ci-centos (CentOS 8) + # so let's use this 3.39 branch for it. + # But let's not set the latest tag for the base image, that is EL9. + if [ "$image_name_looped" == "pulp-ci-centos" ]; then + if [ "${TEMP_BASE_TAG}" == "3.39" ]; then + tags="${tags} latest" + fi + fi for tag in $tags; do podman manifest create ${registry}/pulp/${image_name_looped}:${tag} containers-storage:localhost/pulp/${image_name_looped}:${TEMP_BASE_TAG}-amd64 containers-storage:localhost/pulp/${image_name_looped}:${TEMP_BASE_TAG}-arm64 podman manifest push --all ${registry}/pulp/${image_name_looped}:${tag} ${registry}/pulp/${image_name_looped}:${tag} diff --git a/CHANGES/639.bugfix b/CHANGES/639.bugfix new file mode 100644 index 00000000..2285c0f0 --- /dev/null +++ b/CHANGES/639.bugfix @@ -0,0 +1,3 @@ +Publish the "latest" tag for pulp-ci-centos (CentOS 8) on the 3.39 branch. + +For the 3.39 branch specifically, the last branch on CentOS 8.