jinnrry 2 tahun lalu
induk
melakukan
5e95a0dc1a

+ 1 - 1
.github/workflows/docker_build.yml

@@ -22,7 +22,7 @@ jobs:
           echo "${GITHUB_REF/refs\/tags\//}"
           echo "${GITHUB_REF#refs/*/}"
           echo "${GITHUB_REF}"
-          echo "GITHASH=${git show -s --format=%H}" >> ${GITHASH}
+          echo "GITHASH=$(git show -s --format=%H)" >> ${GITHASH}
       - uses: actions/checkout@v3
 
       - name: set lower case repository name

+ 1 - 1
.github/workflows/docker_build_pre.yml

@@ -22,7 +22,7 @@ jobs:
           echo "${GITHUB_REF/refs\/tags\//}"
           echo "${GITHUB_REF#refs/*/}"
           echo "${GITHUB_REF}"
-          echo "GITHASH=${git show -s --format=%H}" >> ${GITHASH}
+          echo "GITHASH=$(git show -s --format=%H)" >> ${GITHASH}
       - uses: actions/checkout@v3
 
       - name: set lower case repository name