jinnrry 2 лет назад
Родитель
Сommit
52e460e00b
2 измененных файлов с 6 добавлено и 4 удалено
  1. 3 2
      .github/workflows/docker_build.yml
  2. 3 2
      .github/workflows/docker_build_pre.yml

+ 3 - 2
.github/workflows/docker_build.yml

@@ -22,7 +22,6 @@ jobs:
           echo "${GITHUB_REF/refs\/tags\//}"
           echo "${GITHUB_REF#refs/*/}"
           echo "${GITHUB_REF}"
-          echo "GITHASH=$(git show -s --format=%H)" >> ${GITHASH}
       - uses: actions/checkout@v3
 
       - name: set lower case repository name
@@ -40,7 +39,9 @@ jobs:
       - uses: actions/setup-node@v4
 
       - name: Build FE
-        run: make build_fe
+        run: |
+          echo "GITHASH=$(git show -s --format=%H)" >> ${GITHASH}
+          make build_fe
 
       - name: Log in to the Container registry
         uses: docker/login-action@v2.1.0

+ 3 - 2
.github/workflows/docker_build_pre.yml

@@ -22,7 +22,6 @@ jobs:
           echo "${GITHUB_REF/refs\/tags\//}"
           echo "${GITHUB_REF#refs/*/}"
           echo "${GITHUB_REF}"
-          echo "GITHASH=$(git show -s --format=%H)" >> ${GITHASH}
       - uses: actions/checkout@v3
 
       - name: set lower case repository name
@@ -40,7 +39,9 @@ jobs:
       - uses: actions/setup-node@v4
       
       - name: Build FE
-        run: make build_fe
+        run: |
+          echo "GITHASH=$(git show -s --format=%H)" >> ${GITHASH}
+          make build_fe
         
       - name: Log in to the Container registry
         uses: docker/login-action@v2.1.0