Skip to content

Commit 10f6400

Browse files
authored
Merge pull request #261 from negz/push-to-ghcr
Push function-kcl to GHCR
2 parents 53a9ad3 + 0184ca2 commit 10f6400

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ env:
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+

OWNERS.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2025 The Crossplane Authors <https://crossplane.io>
3+
4+
SPDX-License-Identifier: CC-BY-4.0
5+
-->
6+
7+
# OWNERS
8+
9+
This page lists all maintainers for **this** repository. Each repository in the
10+
[Crossplane Contrib organization](https://github.com/crossplane-contrib/) will list their
11+
repository maintainers in their own `OWNERS.md` file.
12+
13+
## Maintainers
14+
* Peefy ([peefy](https://github.com/peefy))
15+
* Zong Zhe ([zong-zhe](https://github.com/zong-zhe))
16+

0 commit comments

Comments
 (0)