Skip to content

Commit

Permalink
more rm centos tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gavin-stackrox committed Jun 12, 2024
1 parent 69f4cb5 commit 089da31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/actions/build-and-push-image/build-and-push-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ build_and_push_image() {
# Login may be required for pulling the base image for building (if used) and to avoid rate limits.
docker login -u "$QUAY_RHACS_ENG_RW_USERNAME" --password-stdin <<<"$QUAY_RHACS_ENG_RW_PASSWORD" quay.io

STACKROX_CENTOS_TAG="$(cat STACKROX_CENTOS_TAG)"
TAG="$(scripts/get_tag.sh "$image_flavor" "${STACKROX_CENTOS_TAG}")"
TAG="$(scripts/get_tag.sh "$image_flavor")"
IMAGE="quay.io/rhacs-eng/apollo-ci:${TAG}"

make "$image_flavor"-image
Expand Down
2 changes: 1 addition & 1 deletion scripts/get_tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -euo pipefail

if [[ -z "${1:-}" ]]; then
echo "Usage: $0 <image flavor> [<centos_tag>]"
echo "Usage: $0 <image flavor>"
exit 1
fi

Expand Down

0 comments on commit 089da31

Please sign in to comment.