File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1313 - name : Checkout repository
1414 uses : actions/checkout@v4
1515
16+ - name : Login to GitHub Container Registry
17+ uses : docker/login-action@v3
18+ with :
19+ registry : ghcr.io
20+ username : ${{ github.actor }}
21+ password : " ${{ secrets.GITHUB_TOKEN }}"
22+
1623 - name : Install Crossplane CLI
1724 run : |
1825 curl -sL "https://raw.githubusercontent.com/crossplane/crossplane/master/install.sh" | sh
2734 - name : Publish Configuration package to GHCR
2835 run : |
2936 echo "### Publish .xpkg to GHCR"
30- printf "%s" "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
31- crossplane xpkg push --package-files=package.xpkg ghcr.io/jacaudi/nextdns-crossplane-composition:latest --verbose
37+ crossplane xpkg push --domain=https://ghcr.io --package-files=package.xpkg ghcr.io/jacaudi/nextdns-crossplane-composition:latest --verbose
3238
You can’t perform that action at this time.
0 commit comments