use short sha for image tag
Some checks failed
Build and Push FreeSWITCH Docker Image / docker-build (push) Failing after 12s

This commit is contained in:
2025-03-20 10:13:47 -04:00
parent d759d54e8d
commit 21da985264

View File

@@ -11,6 +11,10 @@ jobs:
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Set outputs
id: vars
run: |
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Checkout repo
uses: actions/checkout@v4
@@ -32,4 +36,4 @@ jobs:
push: true
tags: |
git.dubyatp.xyz/williamp/freeswitch:latest
git.dubyatp.xyz/williamp/freeswitch:${{ gitea.sha }}
git.dubyatp.xyz/williamp/freeswitch:${{steps.vars.outputs.sha_short }}