Skip to content

Commit

Permalink
Only publish docker images when new tags are added (semver)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrián Parilli committed Nov 23, 2024
1 parent bdb8c91 commit 376507f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ on:
#schedule:
#- cron: '23 3 * * *'
push:
branches: [ "master" ]
#branches: [ "master" ]
# Publish semver tags as releases.
#tags: [ 'v*.*.*' ]
pull_request:
branches: [ "master" ]
tags: [ 'v*.*.*' ]
#pull_request:
#branches: [ "master" ]

env:
# Use docker.io for Docker Hub if empty
Expand Down

0 comments on commit 376507f

Please sign in to comment.