Skip to content

Commit

Permalink
docker: GitHub actions testing for docker release
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
ShahanaFarooqui committed Aug 14, 2024
1 parent fb3579c commit b4ce524
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -42,13 +42,20 @@ 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:
context: .
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: |
elementsproject/lightningd:$VERSION
elementsproject/lightningd:${{ env.VERSION }}
elementsproject/lightningd:latest

0 comments on commit b4ce524

Please sign in to comment.