Skip to content

Commit

Permalink
updated docker publish pipeline - should trigger on release now
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelLeeHobbs committed Oct 18, 2020
1 parent c6916af commit 1ccd70a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Docker

on:
push:
# Publish `main` as Docker `latest` image.
branches:
- 'releases/**'
release:
types: [released]

# Publish `v1.2.3` tags as releases.
tags:
Expand Down Expand Up @@ -45,7 +43,7 @@ jobs:
needs: test

runs-on: ubuntu-latest
if: github.event_name == 'push'
if: github.event_name == 'release'

steps:
- name: Checkout
Expand Down

0 comments on commit 1ccd70a

Please sign in to comment.