diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 569a583..5d3ea0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ env: # The package to push, without a version tag. The default matches GitHub. For # example xpkg.upbound.io/crossplane/function-template-go. - XPKG: xpkg.upbound.io/${{ github.repository}} + XPKG: xpkg.upbound.io/borrelli-org/function-conditional-patch-and-transform # The package version to push. The default is 0.0.0-gitsha. XPKG_VERSION: ${{ inputs.version }} @@ -144,13 +144,9 @@ jobs: run: "curl -sL https://raw.githubusercontent.com/crossplane/crossplane/master/install.sh | sh" - name: Login to Upbound - uses: docker/login-action@v3 if: env.XPKG_ACCESS_ID != '' - with: - registry: xpkg.upbound.io - username: ${{ secrets.XPKG_ACCESS_ID }} - password: ${{ secrets.XPKG_TOKEN }} - + run: "./crossplane xpkg login -a borrelli-org -t ${{ secrets.XPKG_TOKEN }}" + # If a version wasn't explicitly passed as a workflow_dispatch input we # default to version v0.0.0--, for example # v0.0.0-20231101115142-1091066df799. This is a simple implementation of