diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index c08bf23..61ee55b 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -1,7 +1,8 @@ name: Build Docker image on: - push: + release: + types: [ published ] permissions: contents: read @@ -52,6 +53,5 @@ jobs: with: context: . file: ${{ matrix.dockerfile }} - push: github.ref == 'refs/heads/master' tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file