Skip to content

Commit

Permalink
cicd: use push flag with build
Browse files Browse the repository at this point in the history
This is how the other buildx usages are written.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Sep 14, 2021
1 parent 7d29f69 commit 411facf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ jobs:
-t "${TAG}"\
--build-arg "GO_VERSION=${GO_MINOR}"\
--build-arg "CLAIR_VERSION=$(git describe --tags --always --dirty)"\
${DO_PUSH+--push}\
.
echo '::endgroup::'
- name: Push
if: ${{ env.DO_PUSH }}
run: |
docker push "${TAG}"

0 comments on commit 411facf

Please sign in to comment.