Skip to content

Commit b9aa761

Browse files
committed
Fix: Strip suffix in docker image release tag
1 parent 727620e commit b9aa761

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/docker-build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Push Docker Image for nginx-utils container
1+
name: Build and Push Docker Image For nginx-utils Container
22
permissions:
33
contents: read
44
packages: write
@@ -14,8 +14,11 @@ jobs:
1414
if: endsWith(github.event.release.tag_name, '-docker')
1515
runs-on: ubuntu-latest
1616
steps:
17+
- name: Set Release Version
18+
run: echo "RELEASE_VERSION=${RELEASE_VERSION%-docker}" >> $GITHUB_ENV
19+
1720
- name: Starting Release Build
18-
run: echo "Starting Release Build for ${{ github.event.release.tag_name }}"
21+
run: echo "Starting Release Build for ${RELEASE_VERSION}"
1922

2023
- name: Checkout code
2124
uses: actions/[email protected]

0 commit comments

Comments
 (0)