From b50c72fb218c326bc5585b08bc9e55137354fb9d Mon Sep 17 00:00:00 2001 From: maximo tejeda Date: Fri, 15 Nov 2024 11:47:32 -0400 Subject: [PATCH] ADD shortsha id --- .github/workflows/image_creation.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/image_creation.yaml b/.github/workflows/image_creation.yaml index 6cf5629..dd4056d 100644 --- a/.github/workflows/image_creation.yaml +++ b/.github/workflows/image_creation.yaml @@ -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 }}