From 411facfaeb292bd74e1865a2b48767ac1560febf Mon Sep 17 00:00:00 2001 From: Hank Donnay Date: Tue, 14 Sep 2021 09:23:28 -0500 Subject: [PATCH] cicd: use push flag with build This is how the other buildx usages are written. Signed-off-by: Hank Donnay --- .github/workflows/nightly.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index f3351e9865..d7056a54d8 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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}"