Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Only run on release
Browse files Browse the repository at this point in the history
  • Loading branch information
swissbuechi committed Nov 10, 2023
1 parent c4c7249 commit 033d5cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker-build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Docker image build and push
on:
release:
types: [published]
push:

permissions:
contents: read
Expand Down Expand Up @@ -53,7 +52,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name == 'release' }}
push: true
file: ${{ matrix.dockerfile }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 033d5cb

Please sign in to comment.