diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index bd4cf2349f3f..92a6ab6de528 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,14 @@ jobs: exit 1 fi echo "VERSION=$VERSION" >> $GITHUB_ENV - + + - name: Print GitHub Ref Values + run: | + echo "GITHUB_REF_TYPE: ${{ github.ref_type }}" + echo "GITHUB_REF_NAME: ${{ github.ref_name }}" + echo "VERSION ENV: ${{ env.VERSION }}" + echo "VERSION: $VERSION" + - name: Build and push Docker image uses: docker/build-push-action@v5 with: @@ -50,5 +57,5 @@ jobs: push: true platforms: linux/amd64,linux/arm64,linux/arm/v7 tags: | - elementsproject/lightningd:$VERSION + elementsproject/lightningd:${{ env.VERSION }} elementsproject/lightningd:latest