Skip to content

Commit

Permalink
build: also push containers to ghcr.io
Browse files Browse the repository at this point in the history
related to #133

Signed-off-by: Clément Nussbaumer <[email protected]>
  • Loading branch information
clementnuss committed Mar 28, 2023
1 parent c2cbeab commit 67988ab
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,17 @@ jobs:
name: Setup ko
env:
KO_DOCKER_REPO: docker.io/postfinance
- name: Run ko publish
run: |
export REF=${{ github.ref}}
export COMMIT=${{ github.sha}}
export FEAT=$(echo $REF | awk -F 'feat/' '{print $2}')
ko publish ./cmd/kubelet-csr-approver/ --base-import-paths --platform=linux/amd64,linux/arm64,linux/arm -t $FEAT
- uses: ko-build/[email protected]
name: Setup ko
env:
KO_DOCKER_REPO: ghcr.io/postfinance
- name: Run ko publish
run: |
export REF=${{ github.ref}}
Expand Down

0 comments on commit 67988ab

Please sign in to comment.