Skip to content

Commit

Permalink
Merge pull request #4 from stevendborrelli/github-actions
Browse files Browse the repository at this point in the history
initial push workflow
  • Loading branch information
stevendborrelli authored Nov 14, 2023
2 parents ea49546 + 755c911 commit 033c1b5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:

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

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

- name: Login to Upbound
uses: docker/login-action@v3
if: env.XPKG_ACCESS_ID != ''
with:
registry: xpkg.upbound.io
username: ${{ secrets.XPKG_ACCESS_ID }}
password: ${{ secrets.XPKG_TOKEN }}

run: "./crossplane xpkg login -a borrelli-org -t ${{ secrets.XPKG_TOKEN }}"

# If a version wasn't explicitly passed as a workflow_dispatch input we
# default to version v0.0.0-<git-commit-date>-<git-short-sha>, for example
# v0.0.0-20231101115142-1091066df799. This is a simple implementation of
Expand Down

0 comments on commit 033c1b5

Please sign in to comment.