File tree 2 files changed +14
-4
lines changed
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 14
14
15
15
env :
16
16
# Common versions
17
- GO_VERSION : ' 1.23.4 '
17
+ GO_VERSION : ' 1.23.6 '
18
18
GOLANGCI_VERSION : ' v1.62.2'
19
19
DOCKER_BUILDX_VERSION : ' v0.11.2'
20
20
31
31
# The package to push, without a version tag. The default matches GitHub. For
32
32
# example xpkg.upbound.io/crossplane/function-template-go.
33
33
XPKG : xpkg.upbound.io/${{ github.repository}}
34
+ CROSSPLANE_REGORG : ghcr.io/${{ github.repository}} # xpkg.crossplane.io/crossplane-contrib
34
35
35
36
# The package version to push. The default is 0.0.0-gitsha.
36
37
XPKG_VERSION : ${{ inputs.version }}
@@ -165,3 +166,14 @@ jobs:
165
166
- name : Push Multi-Platform Package to Upbound
166
167
if : env.XPKG_ACCESS_ID != ''
167
168
run : " ./crossplane --verbose xpkg push --package-files $(echo *.xpkg|tr ' ' ,) ${{ env.XPKG }}:${{ env.XPKG_VERSION }}"
169
+
170
+ - name : Login to GHCR
171
+
172
+ with :
173
+ registry : ghcr.io
174
+ username : ${{ github.repository_owner }}
175
+ password : ${{ secrets.GITHUB_TOKEN }}
176
+
177
+ - name : Push Multi-Platform Package to GHCR
178
+ if : env.XPKG_ACCESS_ID != ''
179
+ run : " ./crossplane --verbose xpkg push --package-files $(echo *.xpkg|tr ' ' ,) ${{ env.CROSSPLANE_REGORG }}:${{ env.XPKG_VERSION }}"
Original file line number Diff line number Diff line change 1
1
module github.com/crossplane-contrib/function-patch-and-transform
2
2
3
- go 1.23
4
-
5
- toolchain go1.23.4
3
+ go 1.23.6
6
4
7
5
require (
8
6
github.com/alecthomas/kong v0.9.0
You can’t perform that action at this time.
0 commit comments