From dc225f8e8f558b73c0db99fefcfcd344478d3208 Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 8 Nov 2023 12:13:30 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=A9=B9=20beta=20ci=20action=20not?= =?UTF-8?q?=20running?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/beta-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/beta-ci.yml b/.github/workflows/beta-ci.yml index c11d3a5cc..daa09c938 100644 --- a/.github/workflows/beta-ci.yml +++ b/.github/workflows/beta-ci.yml @@ -4,6 +4,9 @@ on: push: tags: - "v*.*.*-beta.*" + - "*.*.*-beta.*" + - "v*.*.*-beta" + - "*.*.*-beta" workflow_dispatch: inputs: tag: @@ -49,6 +52,8 @@ jobs: # Checkout the repo - name: Checkout uses: actions/checkout@v4 + with: + persist-credentials: false # Use NPM and Node.js to install dependencies - name: Use Node.js 18.18.2 @@ -181,6 +186,11 @@ jobs: with: strip_v: true + # Fallback to github.event.inputs.tag if tag is empty + - name: Fallback to github.event.inputs.tag if tag is empty + if: steps.tag.outputs.tag == '' + run: echo "::set-output name=tag::${{ github.event.inputs.tag }}" + # Create manifest list and push - name: Create manifest list and push to Registry working-directory: /tmp/digests