diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index d7153fc..10f5317 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -10,9 +10,9 @@ name: Create and publish a Docker image on: - push: - branches: ['main'] - + release: + types: [created] + env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }}