From 7dc971741cab9f501653bd9cc39f4d0fdf001209 Mon Sep 17 00:00:00 2001 From: Aleksandr Myrnyi Date: Fri, 13 Oct 2023 17:26:43 +0200 Subject: [PATCH] Doesn't push images on scheduled job (#82) --- .github/workflows/security.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 48321dd6..2a73a741 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -57,7 +57,7 @@ jobs: id: docker-build uses: docker/build-push-action@v2 with: - push: ${{ github.ref != 'refs/heads/master' }} + push: true file: ${{ matrix.image }} tags: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/${{ secrets.AWS_ECR_REPO }}:${{ matrix.tags }}-${{ github.sha }} platforms: ${{ matrix.platforms }}