From b5047894b1c4359d2c227889feec127282378731 Mon Sep 17 00:00:00 2001 From: Rob Nester Date: Tue, 24 Jun 2025 10:03:34 -0400 Subject: [PATCH] chore(release): add additional registry logins This commit adds additional registry login steps to the release workflow to address authentication issues for pushing the tekton task bundles. Ref: EC-1110 Signed-off-by: Rob Nester --- .github/workflows/release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6b92339bb..ec393d931 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -142,6 +142,9 @@ jobs: IMAGE_REPO: quay.io/enterprise-contract/ec-cli run: make verify-image + - name: Registry login (quay.io/conforma) + run: podman login -u ${{ secrets.BUNDLE_PUSH_USER_CONFORMA }} -p ${{ secrets.BUNDLE_PUSH_PASS_CONFORMA }} quay.io + - name: Create and push the tekton bundle (quay.io/conforma/ec-task-bundle) env: TASK_REPO: quay.io/conforma/ec-task-bundle @@ -149,6 +152,9 @@ jobs: TASKS: "tasks/verify-enterprise-contract/0.1/verify-enterprise-contract.yaml tasks/verify-conforma-konflux-ta/0.1/verify-conforma-konflux-ta.yaml" run: make task-bundle-snapshot TASK_REPO=$TASK_REPO TASK_TAG=$TAG ADD_TASK_TAG="$TAG_TIMESTAMP" TASKS=<( yq e ".spec.steps[].image? = \"$IMAGE_REPO:$TAG\"" $TASKS | yq 'select(. != null)') + - name: Registry login (quay.io/enterprise-contract) + run: podman login -u ${{ secrets.BUNDLE_PUSH_USER_EC }} -p ${{ secrets.BUNDLE_PUSH_PASS_EC }} quay.io + - name: Create and push the tekton bundle (quay.io/enterprise-contract/ec-task-bundle) env: TASK_REPO: quay.io/enterprise-contract/ec-task-bundle