File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 9898 file : ./Dockerfile
9999 cache-from : type=local,src=/tmp/.buildx-cache
100100 cache-to : type=local,dest=/tmp/.buildx-cache,mode=max
101- load : ${{ github.event_name == 'pull_request' }}
102- push : ${{ github.event_name != 'pull_request' }}
103- platforms : ${{ github.event_name == 'pull_request' && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
101+ load : true
104102 tags : ${{ steps.docker_meta.outputs.tags }}
105103 # Use runtime labels from docker_meta as well as fixed labels
106104 labels : |
@@ -110,12 +108,13 @@ jobs:
110108 org.opencontainers.image.vendor=RADAR-base
111109 org.opencontainers.image.licenses=Apache-2.0
112110
113- # If the image was pushed, we need to pull it again to inspect it
114- - name : Pull image
115- if : ${{ github.event_name != 'pull_request' }}
116- run : docker pull ${{ env.DOCKER_IMAGE }}:${{ steps.docker_meta.outputs.version }}
117-
118111 - name : Inspect image
119112 run : |
120113 docker image inspect ${{ env.DOCKER_IMAGE }}:${{ steps.docker_meta.outputs.version }}
121114 docker run --rm ${{ env.DOCKER_IMAGE }}:${{ steps.docker_meta.outputs.version }} curl --help
115+
116+ # If the image was pushed, we need to pull it again to inspect it
117+ - name : Push image
118+ if : ${{ github.event_name != 'pull_request' }}
119+ run : docker push ${{ env.DOCKER_IMAGE }}:${{ steps.docker_meta.outputs.version }}
120+
You can’t perform that action at this time.
0 commit comments