use short sha for image tag
Some checks failed
Build and Push FreeSWITCH Docker Image / docker-build (push) Failing after 12s
Some checks failed
Build and Push FreeSWITCH Docker Image / docker-build (push) Failing after 12s
This commit is contained in:
@@ -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 }}
|
Reference in New Issue
Block a user