diff --git a/github-action/Dockerfile b/github-action/Dockerfile index cc737fda..e1fb0215 100644 --- a/github-action/Dockerfile +++ b/github-action/Dockerfile @@ -1,4 +1,4 @@ -FROM mikefarah/yq:4@sha256:603ebff15eb308a05f1c5b8b7613179cad859aed3ec9fdd04f2ef5d32345950e +FROM mikefarah/yq:4@sha256:11a1f0b604b13dbbdc662260d8db6f644b22d8553122a25c1b5b2e8713ca6977 COPY entrypoint.sh /entrypoint.sh diff --git a/release_instructions.txt b/release_instructions.txt index a32e1714..aeac43bd 100644 --- a/release_instructions.txt +++ b/release_instructions.txt @@ -9,7 +9,7 @@ - use github actions to publish docker and make github release - check github updated yq action in marketplace - update github-action/Dockerfile to pin the newly published docker image digest: - skopeo inspect docker://docker.io/mikefarah/yq:4 | python3 -c "import sys,json; d=json.load(sys.stdin); print(d['Digest'])" + skopeo inspect docker://docker.io/mikefarah/yq:4 --override-arch amd64 --override-os linux | python3 -c "import sys,json; d=json.load(sys.stdin); print(d['Digest'])" then update the FROM line in github-action/Dockerfile with the new digest: FROM mikefarah/yq:4@sha256: