From bcb565ba37f3e9173c8436415ca95a6211512c25 Mon Sep 17 00:00:00 2001 From: TwiN Date: Wed, 23 Nov 2022 18:15:01 -0500 Subject: [PATCH] ci: Remove workflow_dispatch --- .github/workflows/publish-release-to-ghcr.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/publish-release-to-ghcr.yml b/.github/workflows/publish-release-to-ghcr.yml index 280bff8c..b5103a14 100644 --- a/.github/workflows/publish-release-to-ghcr.yml +++ b/.github/workflows/publish-release-to-ghcr.yml @@ -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: