From 5da90d15826962970ff45cd19dbe8b1e4e5193b1 Mon Sep 17 00:00:00 2001 From: ShahanaFarooqui Date: Tue, 13 Aug 2024 20:37:01 -0700 Subject: [PATCH] Update docker-release.yml --- .github/workflows/docker-release.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index bd4cf2349f3f..f77c61e87510 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -3,7 +3,7 @@ name: Build and push multi-platform docker images on: push: tags: - - '^v[0-9]{2}\.[0-9]{2}(\.[0-9]{1,2})?$' + - '^v[0-9]{2}\.[0-9]{2}(\.[0-9]{1,2})?([a-zA-Z0-9]*)?$' workflow_dispatch: inputs: version: @@ -42,7 +42,15 @@ jobs: exit 1 fi echo "VERSION=$VERSION" >> $GITHUB_ENV - + + - name: Print GitHub Ref Values + run: | + echo "GITHUB_REF: ${{ github.ref }}" + echo "GITHUB_REF_TYPE: ${{ github.ref_type }}" + echo "GITHUB_REF_NAME: ${{ github.ref_name }}" + echo "VERSION: ${{ steps.set-version.outputs.VERSION }}" + echo "VERSION: $VERSION" + - name: Build and push Docker image uses: docker/build-push-action@v5 with: @@ -50,5 +58,5 @@ jobs: push: true platforms: linux/amd64,linux/arm64,linux/arm/v7 tags: | - elementsproject/lightningd:$VERSION + elementsproject/lightningd:${{ steps.set-version.outputs.VERSION }} elementsproject/lightningd:latest