mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 10:17:22 +00:00
chore(container): add the branch name to the container
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user