Skip to content

Commit 033c1b5

Browse files
Merge pull request #4 from stevendborrelli/github-actions
initial push workflow
2 parents ea49546 + 755c911 commit 033c1b5

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ env:
3030

3131
# The package to push, without a version tag. The default matches GitHub. For
3232
# example xpkg.upbound.io/crossplane/function-template-go.
33-
XPKG: xpkg.upbound.io/${{ github.repository}}
33+
XPKG: xpkg.upbound.io/borrelli-org/function-conditional-patch-and-transform
3434

3535
# The package version to push. The default is 0.0.0-gitsha.
3636
XPKG_VERSION: ${{ inputs.version }}
@@ -144,13 +144,9 @@ jobs:
144144
run: "curl -sL https://raw.githubusercontent.com/crossplane/crossplane/master/install.sh | sh"
145145

146146
- name: Login to Upbound
147-
uses: docker/login-action@v3
148147
if: env.XPKG_ACCESS_ID != ''
149-
with:
150-
registry: xpkg.upbound.io
151-
username: ${{ secrets.XPKG_ACCESS_ID }}
152-
password: ${{ secrets.XPKG_TOKEN }}
153-
148+
run: "./crossplane xpkg login -a borrelli-org -t ${{ secrets.XPKG_TOKEN }}"
149+
154150
# If a version wasn't explicitly passed as a workflow_dispatch input we
155151
# default to version v0.0.0-<git-commit-date>-<git-short-sha>, for example
156152
# v0.0.0-20231101115142-1091066df799. This is a simple implementation of

0 commit comments

Comments
 (0)