diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 896562b..4906664 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -5,11 +5,11 @@ name: Docker # separate terms of service, privacy policy, and support # documentation. -on: [ "push" ] - #release: - # types: [ "push" ] - #pull_request: - # branches: [ "main" ] +on: + release: + types: [ "published" ] + pull_request: + branches: [ "main" ] env: # Use docker.io for Docker Hub if empty @@ -79,4 +79,4 @@ jobs: platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }}