From 241eeb35dc713415c4e7bfe09673a84417a27ec8 Mon Sep 17 00:00:00 2001 From: Cosimo Meli Date: Mon, 23 Sep 2024 16:37:51 +0200 Subject: [PATCH 1/2] Fix tag version extraction in deployment workflow --- .github/workflows/deployment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index 68560e0..c90b61b 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -62,7 +62,8 @@ jobs: - name: Get image tag from git tag if: github.ref_type == 'tag' run: | - echo "IMAGE_TAG=${$(echo ${{github.ref}} | cut -d'/' -f3)#v}" >> $GITHUB_ENV + tag_version="$(echo ${{github.ref}} | cut -d'/' -f3)" + echo "IMAGE_TAG=${tag_version#v}" >> $GITHUB_ENV - name: Get image tag from main branch if: github.ref_type == 'branch' && github.ref == 'refs/heads/main' run: | From 24b8e3c95ad5f1dab309e7699187d3e2449041f9 Mon Sep 17 00:00:00 2001 From: chicco785 Date: Mon, 23 Sep 2024 14:41:09 +0000 Subject: [PATCH 2/2] docs(release_notes): update RELEASE_NOTES.md [dependabot skip] --- RELEASE_NOTES.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index ec25406..d9a0ed7 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,6 @@ # GitHub Workflows Release Notes -## 0.0.3-dev - 2024-09-20 +## 0.0.3-dev - 2024-09-23 ### Features @@ -23,6 +23,7 @@ ### Bug Fixes +- deployment workflow: fix tag version extraction (PR #137 by @cosimomeli) - Fix vulnerability-scan typo (PR #133 by @cosimomeli) - golang workflow: fix changes check (PR #130 by @chicco785) - Fix deployment workflow on PRs (PR #120 by @cosimomeli)