chore(container): add the branch name to the container

This commit is contained in:
Adam Cooke
2024-03-20 14:28:44 +00:00
parent 4d9654dac4
commit bee509832e
3 changed files with 8 additions and 3 deletions
+2
View File
@@ -87,6 +87,7 @@ jobs:
VER="$(git describe --tags 2>/dev/null)"
echo "version=${VER}" >> "$GITHUB_OUTPUT"
echo "branch=${REF}" >> "$GITHUB_OUTPUT"
echo 'tags<<EOF' >> "$GITHUB_OUTPUT"
if [[ "$REF" == "main" ]]; then
@@ -105,6 +106,7 @@ jobs:
platforms: linux/amd64
build-args: |
VERSION=${{ steps.info.outputs.version }}
BRANCH=${{ steps.info.outputs.branch }}
publish-image:
name: Publish Image