diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8db651749..b3f969be3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -328,11 +328,11 @@ jobs: if: (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-')) && env.DOCKER_USR != '' && env.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR != '' run: echo "EARTHLY_PUSH=true" >> $GITHUB_ENV - - name: Set CROSSPLANE_VERSION GitHub Environment Variable + - name: Set CROSSPLANE_VERSION and CROSSPLANE_INTERNAL_VERSION GitHub Environment Variables run: earthly +ci-version - name: Build and Push Artifacts - run: earthly --strict --remote-cache ghcr.io/upbound/crossplane-earthly-cache:${{ github.job }} +ci-artifacts --CROSSPLANE_VERSION=${CROSSPLANE_VERSION} + run: earthly --strict --remote-cache ghcr.io/upbound/crossplane-earthly-cache:${{ github.job }} +ci-artifacts --CROSSPLANE_VERSION=${CROSSPLANE_VERSION} --CROSSPLANE_INTERNAL_VERSION=${CROSSPLANE_INTERNAL_VERSION} - name: Upload Artifacts to GitHub uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4