Skip to content

Commit

Permalink
Login to the infrawatch quay registry
Browse files Browse the repository at this point in the history
Created organization secrets in GitHub with the
infrawatch+release_automation robot account so that the release
automation script (for nightly builds) can now push to the infrawatch
registry.

Previously the release automation script only needed to access the
infrawatch-operators registry to push the bundles and index image, but
with the recent changes to tag and push the latest into the nightly
builds, access to the infrawatch repo is also necessary.

Related: STF-1559
  • Loading branch information
leifmadsen committed Oct 12, 2023
1 parent ad2fc83 commit 30d11cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions releaser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ echo "STO result dir: ${STO_BUNDLE_RESULT_DIR}"
# login to quay.io registry so we can push bundles to infrawatch-operators organization
echo "${QUAY_INFRAWATCH_OPERATORS_PASSWORD}" | docker login -u="${QUAY_INFRAWATCH_OPERATORS_USERNAME}" --password-stdin quay.io || exit

# login to quay.io registry so we can push bundles to infrawatch organization
echo "${QUAY_INFRAWATCH_PASSWORD}" | docker login -u="${QUAY_INFRAWATCH_USERNAME}" --password-stdin quay.io || exit

# tag existing artifacts for nightly reference
for IMAGE in ${ARTIFACT_IMAGES}; do
skopeo copy "docker://quay.io/infrawatch/${IMAGE}:${IMAGE_TAG}" "docker://quay.io/infrawatch/${IMAGE}:${INSPECTION_TAG}"
Expand Down

0 comments on commit 30d11cb

Please sign in to comment.