Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
Docker publish workflow will happen on release instead of on push.
  • Loading branch information
xoltia authored Oct 9, 2023
1 parent 101f246 commit d705f98
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@ name: Docker
# documentation.

on:
push:
branches: [ "main" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
release:
types: created

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

0 comments on commit d705f98

Please sign in to comment.