Fix publish workflow

This commit is contained in:
Luke Tainton 2024-07-13 11:02:18 +01:00
parent 3f318d6d70
commit 014085f693
No known key found for this signature in database

View File

@ -1,8 +1,9 @@
name: Publish Docker Image name: Publish Docker Image
on: on:
workflow_dispatch:
release: release:
types: [published] types: [published, created]
jobs: jobs:
publish: publish:
@ -16,6 +17,8 @@ jobs:
steps: steps:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
ref: ${{ github.event.release.name }}
- name: Log in to GitHub Container Registry - name: Log in to GitHub Container Registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1