Skip to content

Commit 974c95a

Browse files
authored
Merge pull request #57 from layer5io/leecalcote-patch-2
Update GitHub Actions workflow for release channel
2 parents 3ba4ffe + fc2e9aa commit 974c95a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build-and-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ on:
2727
default: "stable"
2828
env:
2929
GIT_TAG: ${{ github.event.release.tag_name || inputs.tag_name }}
30+
RELEASE_CHANNEL: ${{ inputs.release_channel }}
3031

3132
jobs:
3233
derive-version-info:
@@ -54,11 +55,11 @@ jobs:
5455
STRIPPED_VERSION="${TAG_NAME#v}"
5556
5657
# Determine release channel
57-
CHANNEL="${{ inputs.release_channel }}"
58+
RELEASE_CHANNEL="${{ inputs.release_channel }}"
5859
5960
echo "GIT_VERSION=$TAG_NAME" >> $GITHUB_OUTPUT
6061
echo "GIT_STRIPPED_VERSION=$STRIPPED_VERSION" >> $GITHUB_OUTPUT
61-
echo "RELEASE_CHANNEL=$CHANNEL" >> $GITHUB_OUTPUT
62+
echo "RELEASE_CHANNEL=$RELEASE_CHANNEL" >> $GITHUB_OUTPUT
6263
6364
docker-extension:
6465
needs: derive-version-info
@@ -69,7 +70,7 @@ jobs:
6970
RELEASE_CHANNEL: ${{ needs.derive-version-info.outputs.RELEASE_CHANNEL }}
7071
steps:
7172
- name: Checkout 🛎️ repo
72-
uses: actions/checkout@v4
73+
uses: actions/checkout@v6
7374

7475
- name: Setup image tags in docker-compose.yaml
7576
run: |

0 commit comments

Comments
 (0)