Skip to content

Commit

Permalink
ci push
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Borrelli <steve@borrelli.org>
  • Loading branch information
stevendborrelli committed Nov 7, 2023
1 parent 22c5faf commit 53525f6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
env:
# Common versions
GO_VERSION: '1.21.3'
GOLANGCI_VERSION: 'v1.54.2'
GOLANGCI_VERSION: 'v1.55.2'
DOCKER_BUILDX_VERSION: 'v0.11.2'

# These environment variables are important to the Crossplane CLI install.sh
Expand All @@ -30,7 +30,8 @@ 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/${{ github.repository}}
XPKG: index.docker.io/steve/function-unit-test

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

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

Expand Down

0 comments on commit 53525f6

Please sign in to comment.