fix docker buiild and deploy in ci

This commit is contained in:
dal 2025-08-24 22:29:12 -06:00
parent c1ad9cd710
commit a03776ed0a
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Get commit SHA
id: commit
run: |
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
echo "sha_short=$(git rev-parse --short=7 HEAD)" >> $GITHUB_OUTPUT
echo "sha_full=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
- name: Setup porter

View File

@ -116,7 +116,7 @@ jobs:
- name: Extract metadata and determine tags
id: meta
run: |
SHA_SHORT=$(git rev-parse --short HEAD)
SHA_SHORT=$(git rev-parse --short=7 HEAD)
echo "sha_short=${SHA_SHORT}" >> $GITHUB_OUTPUT
if [[ "${{ github.ref_name }}" == "main" ]]; then