Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
dskiff committed Apr 25, 2024
1 parent 0f44d56 commit 60f6019
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# NOTE: Generally, ko should be preferred for golang, but this is an attempt to dogfood tko
- name: Use built tko for publish
run: cp ./dist/tko_linux_amd64_v1/tko /usr/local/bin/tko

Expand All @@ -45,5 +46,5 @@ jobs:
run: tko "./dist/tko_linux_amd64_v1"
env:
TKO_DEST_PATH: "/usr/local/bin"
TKO_TARGET_REPO: "ghcr.io/dskiff/tko:v${{ steps.goreleaser.outputs.version }}"
TKO_TARGET_REPO: "ghcr.io/dskiff/tko:v${{ github.ref_name }}"
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 60f6019

Please sign in to comment.