Skip to content

Commit c7d5da2

Browse files
committed
fix hash refs
1 parent 62b82e2 commit c7d5da2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci-nofos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
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

.github/workflows/deploy-nofos.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
@@ -49,7 +49,7 @@ jobs:
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)"

0 commit comments

Comments
 (0)