We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9da085e commit 2f24974Copy full SHA for 2f24974
.github/workflows/release.yml
@@ -49,7 +49,6 @@ jobs:
49
with:
50
repotag: amazon/aws-cli
51
key: aws-cli-docker-image-sha-${{ github.sha }}
52
-
53
- run: docker pull amazon/aws-cli
54
55
test_restoring:
@@ -75,4 +74,18 @@ jobs:
75
74
76
77
+ - run: docker inspect amazon/aws-cli
78
+ - run: echo ::set-output name=id::$(docker image ls -q amazon/aws-cli)
79
+ id: cached
80
+
81
82
83
84
85
+ id: latest
86
87
+ - run: |
88
+ if [ ! ${{ steps.cached.outputs.id }} = ${{ steps.latest.outputs.id }} ];then
89
+ echo cached != latest
90
+ exit 1
91
+ fi
0 commit comments