Skip to content

Commit 3634abf

Browse files
committed
Enable publishing to upbound registry
Signed-off-by: Jan Dittrich <jan.dittrich@cgm.com>
1 parent 8377119 commit 3634abf

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,13 @@ jobs:
212212

213213
publish-provider-package:
214214
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-')
215-
uses: crossplane-contrib/provider-workflows/.github/workflows/publish-provider-non-family.yml@9a2125b3ec67a41a24913ada8212b9359f104c8c
215+
uses: crossplane-contrib/provider-workflows/.github/workflows/publish-provider-non-family.yml@681e900dec4e5a5d84bae078add34b33a7871111
216216
with:
217+
registry_org: crossplane-contrib
217218
repository: provider-openstack
219+
mirror-registry: xpkg.upbound.io
218220
go-version: "1.24" # Keep in sync with env.GO_VERSION above
219-
cleanup-disk: true
220-
mirror-to-upbound-registry: false
221221
secrets:
222222
GHCR_PAT: ${{ secrets.GITHUB_TOKEN }}
223+
XPKG_MIRROR_ACCESS_ID: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR }}
224+
XPKG_MIRROR_TOKEN: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }}

.github/workflows/publish-provider-package.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ on:
1414

1515
jobs:
1616
publish-provider-package:
17-
uses: crossplane-contrib/provider-workflows/.github/workflows/publish-provider-non-family.yml@9a2125b3ec67a41a24913ada8212b9359f104c8c
17+
uses: crossplane-contrib/provider-workflows/.github/workflows/publish-provider-non-family.yml@681e900dec4e5a5d84bae078add34b33a7871111
1818
with:
19-
repository: provider-openstack
2019
version: ${{ github.event.inputs.version }}
21-
go-version: ${{ github.event.inputs.go-version }}
22-
cleanup-disk: true
23-
mirror-to-upbound-registry: false
20+
registry_org: crossplane-contrib
21+
repository: provider-openstack
22+
mirror-registry: xpkg.upbound.io
23+
go-version: "1.24" # Keep in sync with env.GO_VERSION above
2424
secrets:
25-
GHCR_PAT: ${{ secrets.GITHUB_TOKEN }}
25+
GHCR_PAT: ${{ secrets.GITHUB_TOKEN }}
26+
XPKG_MIRROR_ACCESS_ID: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR }}
27+
XPKG_MIRROR_TOKEN: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }}

0 commit comments

Comments
 (0)