From b4ce524b0a4a1e90335d01bb978e8ded627defbb Mon Sep 17 00:00:00 2001 From: ShahanaFarooqui Date: Tue, 13 Aug 2024 20:54:38 -0700 Subject: [PATCH] docker: GitHub actions testing for docker release - Temporarily adding `rc` tag trigger for testing `Build and push multi-platform docker images` action flow before the final release. - Added more logs for future debugging. Changelog-None. --- .github/workflows/docker-release.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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