Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
Changed release on: publish
  • Loading branch information
VictorDidier authored Jan 26, 2024
1 parent 3449f33 commit f78658f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit f78658f

Please sign in to comment.