Skip to content

Commit

Permalink
ci: fix release kbs client
Browse files Browse the repository at this point in the history
if oras push failed, the original ci would still return true, which is
not expected.

Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed Jun 27, 2024
1 parent 584f0b3 commit 3866543
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/push-kbs-client-to-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ jobs:
oras push \
ghcr.io/confidential-containers/staged-images/kbs-client:sample_only-${{ matrix.arch }}-linux-gnu-${commit_sha},latest-${{ matrix.arch }} \
kbs-client
[ "$(uname -m)" = "x86_64" ] && oras push ghcr.io/confidential-containers/staged-images/kbs-client:latest kbs-client || true
if [ "$(uname -m)" = "x86_64" ]; then
oras push ghcr.io/confidential-containers/staged-images/kbs-client:latest kbs-client
fi
- name: Take a post-action for self-hosted runner
if: always()
Expand Down

0 comments on commit 3866543

Please sign in to comment.