ci: Remove workflow_dispatch

This commit is contained in:
TwiN 2022-11-23 18:15:01 -05:00
parent 2327854641
commit bcb565ba37

View File

@ -2,11 +2,6 @@ name: publish-release-to-ghcr
on:
release:
types: [published]
workflow_dispatch:
ref:
description: "Branch, tag or SHA to checkout"
required: true
default: "master"
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
@ -27,7 +22,7 @@ jobs:
- name: Get image repository
run: echo IMAGE_REPOSITORY=$(echo ghcr.io/${{ github.actor }}/${{ github.event.repository.name }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
- name: Get the release
run: echo RELEASE=${{ github.event.inputs.ref }} >> $GITHUB_ENV
run: echo RELEASE=${GITHUB_REF/refs\/tags\//} >> $GITHUB_ENV
- name: Login to Registry
uses: docker/login-action@v2
with: