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 98
98
file : ./Dockerfile
99
99
cache-from : type=local,src=/tmp/.buildx-cache
100
100
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
104
102
tags : ${{ steps.docker_meta.outputs.tags }}
105
103
# Use runtime labels from docker_meta as well as fixed labels
106
104
labels : |
@@ -110,12 +108,13 @@ jobs:
110
108
org.opencontainers.image.vendor=RADAR-base
111
109
org.opencontainers.image.licenses=Apache-2.0
112
110
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
-
118
111
- name : Inspect image
119
112
run : |
120
113
docker image inspect ${{ env.DOCKER_IMAGE }}:${{ steps.docker_meta.outputs.version }}
121
114
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