jinnrry vor 2 Jahren
Ursprung
Commit
5e95a0dc1a
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      .github/workflows/docker_build.yml
  2. 1 1
      .github/workflows/docker_build_pre.yml

+ 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