Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dskiff committed Apr 27, 2024
1 parent 2f49bc8 commit b22a9bc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- name: Run against local docker daemon
run: |
go run . build \
--annotation "org.opencontainers.image.revision=${{ github.sha }}" \
--annotation "org.opencontainers.image.version=dev-${{ github.sha }}" \
--annotations "org.opencontainers.image.revision=${{ github.sha }}" \
--annotations "org.opencontainers.image.version=dev-${{ github.sha }}" \
--target-repo "test/repo" \
"./dist/tko_linux_amd64_v1"
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- name: Publish (latest)
run: |
tko build \
--annotation "org.opencontainers.image.revision=${{ github.sha }}" \
--annotation "org.opencontainers.image.version=dev-${{ github.sha }}" \
--annotations "org.opencontainers.image.revision=${{ github.sha }}" \
--annotations "org.opencontainers.image.version=dev-${{ github.sha }}" \
--target-repo "ghcr.io/dskiff/tko:latest" \
--entrypoint "/bin/bash" \
"./dist/tko_linux_amd64_v1"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
- name: Publish (bin)
run: |
tko build \
--annotation "org.opencontainers.image.revision=${{ github.sha }}" \
--annotation "org.opencontainers.image.version=${{ github.ref_name }}" \
--annotations "org.opencontainers.image.revision=${{ github.sha }}" \
--annotations "org.opencontainers.image.version=${{ github.ref_name }}" \
--base-ref "scratch" \
--target-repo "ghcr.io/dskiff/tko:bin" \
"./dist/tko_linux_amd64_v1"
Expand All @@ -48,8 +48,8 @@ jobs:
- name: Publish (version)
run: |
tko build \
--annotation "org.opencontainers.image.revision=${{ github.sha }}" \
--annotation "org.opencontainers.image.version=${{ github.ref_name }}" \
--annotations "org.opencontainers.image.revision=${{ github.sha }}" \
--annotations "org.opencontainers.image.version=${{ github.ref_name }}" \
--target-repo "ghcr.io/dskiff/tko:${{ github.ref_name }}" \
--entrypoint "/bin/bash" \
"./dist/tko_linux_amd64_v1"
Expand Down

0 comments on commit b22a9bc

Please sign in to comment.