Skip to content

Commit 94157df

Browse files
authored
fix: missing annotate (#8)
Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
1 parent 04161a1 commit 94157df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-and-upload.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Authenticate gooci cli
2323
run: gooci login ghcr.io --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }}
2424
- name: gooci Upload Version
25-
run: gooci upload dist/ ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{github.ref_name}}
25+
run: gooci upload --annotate="org.ccf.plugin.protocol.version=2" dist/ ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{github.ref_name}}
2626
- name: gooci Upload Latest
2727
if: "!github.event.release.prerelease"
28-
run: gooci upload dist/ ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest
28+
run: gooci upload --annotate="org.ccf.plugin.protocol.version=2" dist/ ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest

0 commit comments

Comments
 (0)