File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 3333 # The package to push, without a version tag. The default matches GitHub. For
3434 # example xpkg.upbound.io/crossplane/function-template-go.
3535 XPKG : xpkg.upbound.io/${{ github.repository}}
36+ CROSSPLANE_REGORG : ghcr.io/${{ github.repository}} # xpkg.crossplane.io/crossplane-contrib
3637
3738 # The package version to push. The default is 0.0.0-gitsha.
3839 XPKG_VERSION : v0.11.3
@@ -167,3 +168,14 @@ jobs:
167168 - name : Push Latest Package to Upbound
168169 if : env.XPKG_ACCESS_ID != ''
169170 run : " ./crossplane --verbose xpkg push --package-files $(echo *.xpkg|tr ' ' ,) ${{ env.XPKG }}:latest"
171+
172+ - name : Login to GHCR
173+ uses : docker/login-action@v3
174+ with :
175+ registry : ghcr.io
176+ username : ${{ github.repository_owner }}
177+ password : ${{ secrets.GITHUB_TOKEN }}
178+
179+ - name : Push Multi-Platform Package to GHCR
180+ run : " ./crossplane --verbose xpkg push --package-files $(echo *.xpkg|tr ' ' ,) ${{ env.CROSSPLANE_REGORG }}:${{ env.XPKG_VERSION }}"
181+
You can’t perform that action at this time.
0 commit comments