Skip to content

Commit

Permalink
Publish the latest tag for the 3.39 pulp-ci-centos
Browse files Browse the repository at this point in the history
So that pulp-ci-centos (EL8) will continue to have a latest tag
that points to the newest image.

Fixes: #639
  • Loading branch information
mikedep333 committed Jun 6, 2024
1 parent f2ea7ea commit 453c2aa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pulp_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
3 changes: 3 additions & 0 deletions CHANGES/639.bugfix
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 453c2aa

Please sign in to comment.