diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ed53091..56d6135 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,7 +54,7 @@ jobs: uses: docker/build-push-action@v2 with: context: . - push: true + push: ${{ github.secret_source == 'Actions' && github.ref_name == 'main' }} platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}