Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 326b55d

Browse files
authored
Use github.ref_name for codegate version (#707)
The auto-generated tag was used to set the codegate version. This had relevant information, but is not the version we actually wanted to set. This instead uses github action context variables to set the version appropriately. For Releases (the trigger for the image publish job) the `ref_name` refers to the tag the release had attached. This is what's used. Signed-off-by: Juan Antonio Osorio <[email protected]>
1 parent 4588a3e commit 326b55d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/image-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
cache-to: type=gha,mode=max
9090
build-args: |
9191
LATEST_RELEASE=${{ env.LATEST_RELEASE }}
92-
CODEGATE_VERSION=${{ steps.version-string.outputs.tag }}
92+
CODEGATE_VERSION=${{ github.ref_name }}
9393
- name: Capture Image Digest
9494
id: image-digest
9595
run: |

0 commit comments

Comments
 (0)