This commit is contained in:
@@ -16,10 +16,8 @@ jobs:
|
||||
|
||||
- name: Set image tag from branch
|
||||
run: |
|
||||
echo "GITEA_REF=$GITEA_REF"
|
||||
|
||||
# strip refs/heads/
|
||||
VERSION="${GITEA_REF#refs/heads/}"
|
||||
# hole den Branch-Namen über Git
|
||||
VERSION=$(git rev-parse --abbrev-ref HEAD)
|
||||
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "ERROR: could not determine branch name"
|
||||
|
||||
Reference in New Issue
Block a user