diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index cd51771..ef92b79 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -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 }} \ No newline at end of file + git.dubyatp.xyz/williamp/freeswitch:${{steps.vars.outputs.sha_short }} \ No newline at end of file