Update docker job to run automatically for new releases (#2056)

This commit is contained in:
Cal Stephens
2025-05-27 06:29:17 -07:00
parent 3f8010c1c0
commit 76cb7773a1
+2 -8
View File
@@ -1,12 +1,8 @@
name: Create and publish a Docker image
on:
workflow_dispatch:
inputs:
ref:
description: 'Ref to build (branch, tag or SHA)'
required: false
default: 'main'
release:
types: [published]
env:
REGISTRY: ghcr.io
@@ -22,8 +18,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.ref }}
- name: Extract metadata (tags, labels) for Docker
id: meta