feat: more workflow fixes
All checks were successful
Build and Push App Image / build-and-push (push) Successful in 59s
All checks were successful
Build and Push App Image / build-and-push (push) Successful in 59s
This commit is contained in:
@@ -24,10 +24,10 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
- name: Set image tags
|
||||
id: vars
|
||||
shell: bash
|
||||
shell: sh
|
||||
run: |
|
||||
SHORT_SHA="${GITHUB_SHA::7}"
|
||||
BRANCH="${GITHUB_REF_NAME//\//-}"
|
||||
SHORT_SHA=$(printf '%s' "$GITHUB_SHA" | cut -c1-7)
|
||||
BRANCH=$(printf '%s' "$GITHUB_REF_NAME" | tr '/' '-')
|
||||
|
||||
echo "short_sha=${SHORT_SHA}" >> "$GITHUB_OUTPUT"
|
||||
echo "branch=${BRANCH}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
Reference in New Issue
Block a user