From 2433b7721a5c845bd472e6d07afc539c16ecd6a3 Mon Sep 17 00:00:00 2001 From: tnthornton <2375126+tnthornton@users.noreply.github.com> Date: Wed, 17 Dec 2025 12:52:15 -0800 Subject: [PATCH 1/2] Remove hardcoded version for up cli --- .github/workflows/ci.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e2153b4..0843781 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -180,7 +180,6 @@ jobs: with: skip-login: true channel: main - version: v0.39.0-384.g0a0c8634 - name: Login to Upbound Marketplace uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3 From 9a9fc3105e4a8e40c2e03a6f3a90f4a3510fbfac Mon Sep 17 00:00:00 2001 From: tnthornton <2375126+tnthornton@users.noreply.github.com> Date: Wed, 17 Dec 2025 15:32:44 -0800 Subject: [PATCH 2/2] skip publishing if no creds --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0843781..50636c5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -147,12 +147,14 @@ jobs: - name: Login to Upbound Marketplace uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3 + if: env.XPKG_ACCESS_ID != '' with: registry: xpkg.upbound.io/upbound username: ${{ secrets.XPKG_ACCESS_ID }} password: ${{ secrets.XPKG_ACCESS_TOKEN }} - name: Publish Artifacts + if: env.XPKG_ACCESS_ID != '' run: | make publish BRANCH_NAME=${GITHUB_REF##*/} env: @@ -183,6 +185,7 @@ jobs: - name: Login to Upbound Marketplace uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3 + if: env.XPKG_ACCESS_ID != '' with: registry: xpkg.upbound.io/upbound username: ${{ secrets.XPKG_ACCESS_ID }}