ADD shortsha id
Some checks failed
Go-tags / build (push) Failing after 0s

This commit is contained in:
maximo tejeda 2024-11-15 11:47:32 -04:00
parent d6d1450a46
commit b50c72fb21

View File

@ -28,6 +28,7 @@ jobs:
password: ${{ secrets.PWD }}
- name: calculate short sha
- id: calculate-sha
run: |
echo "shortsha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
@ -40,4 +41,4 @@ jobs:
tags: git.maximotejeda.com/maximo/ddns:${{ github.ref_name }}
build-args: |
version=${{ github.ref_name }}
SHORTSHA=${{ steps.calculate-short-sha.outputs.shortsha }}
SHORTSHA=${{ steps.calculate-sha.outputs.shortsha }}