determine BRANCH for later use in docker workflow

This commit is contained in:
Axel Uhl
2024-05-24 14:17:15 +02:00
parent c04d526419
commit b5360ca15a
+7 -6
View File
@@ -33,12 +33,13 @@ jobs:
- name: Determine release
shell: bash
run: |
echo "RELEASE_PREFIX=$( if [ "${{ github.event.inputs.release }}" = "" ]; then
echo "$( git branch --show-current )-"
else
echo "${{ github.event.inputs.release }}"
fi )
BEARER_TOKEN=${{ secrets.GITHUB_TOKEN }}" >>${GITHUB_ENV}
echo "BRANCH=$( git branch --show-current )-
RELEASE_PREFIX=$( if [ "${{ github.event.inputs.release }}" = "" ]; then
echo "$( git branch --show-current )-"
else
echo "${{ github.event.inputs.release }}"
fi )
BEARER_TOKEN=${{ secrets.GITHUB_TOKEN }}" >>${GITHUB_ENV}
- name: Download release
shell: bash
run: |