Skip to content

Commit

Permalink
Workflow to publish docker image on tag instead of release because of h…
Browse files Browse the repository at this point in the history
  • Loading branch information
3arthqu4ke committed Jul 18, 2024
1 parent 08697b5 commit 16c90f7
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: docker publish with tag

on:
release:
types: [published]
push:
tags:
- '**'

jobs:
docker:
Expand All @@ -25,5 +26,5 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
tags: 3arthqu4ke/headlessmc:${{ github.event.release.tag_name }}
tags: 3arthqu4ke/headlessmc:${{ github.ref_name }}

0 comments on commit 16c90f7

Please sign in to comment.