Skip to content

Commit

Permalink
Fix Actions workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
edonosotti committed Jan 3, 2021
1 parent a20403f commit 25ff64d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
branches:
- '**'
release:
types: [published, created, edited]
types: [published, edited]

jobs:
# Run code tests before building the image, to ensure it is good to go
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
push_to_registry:
name: Build and push Docker image to Docker Hub
# ...but only when a `release` is `published`
if: github.event_name == 'release' && github.event.action == 'published'
if: github.event_name == 'release' # && github.event.action == 'published'
runs-on: ubuntu-latest
steps:
- name: Check out the repo
Expand Down

0 comments on commit 25ff64d

Please sign in to comment.