File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3737 run : git rev-parse HEAD > /tmp/commit-hash.txt
3838
3939 - name : Save built image to file
40- run : docker save " nofos:$(git rev-parse HEAD)" > /tmp/docker-image.tar
40+ run : docker save nofos:" $(git rev-parse HEAD)" > /tmp/docker-image.tar
4141
4242 - name : Cache commit hash
4343 uses : actions/cache/save@v4
Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ jobs:
2828 uses : actions/cache/restore@v4
2929 with :
3030 path : /tmp/commit-hash.txt
31- key : nofos-docker-image -${{ github.sha }}
31+ key : nofos-commit -${{ github.sha }}
3232
3333 - name : Restore cached Docker image
3434 uses : actions/cache/restore@v4
3535 with :
3636 path : /tmp/docker-image.tar
37- key : nofos-docker- image-${{ github.sha }}
37+ key : nofos-image-${{ github.sha }}
3838
3939 - name : Load cached Docker image
4040 run : docker load < /tmp/docker-image.tar
4949 environment : ${{ inputs.environment }}
5050
5151 - name : Publish release
52- run : make release-publish APP_NAME=nofos IMAGE_TAG=$(cat /tmp/commit-hash.txt)
52+ run : make release-publish APP_NAME=nofos IMAGE_TAG=" $(cat /tmp/commit-hash.txt)"
5353
5454 - name : Deploy release
55- run : make release-deploy APP_NAME=nofos ENVIRONMENT=${{ inputs.environment }} IMAGE_TAG=$(cat /tmp/commit-hash.txt)
55+ run : make release-deploy APP_NAME=nofos ENVIRONMENT=${{ inputs.environment }} IMAGE_TAG=" $(cat /tmp/commit-hash.txt)"
You can’t perform that action at this time.
0 commit comments