7676 labels : ${{ steps.meta.outputs.labels }}
7777 build-args : |
7878 VERSION=0.0.0
79- -
80- name : Build and push to local registry
81- uses : docker/build-push-action@v6
82- with :
83- context : .
84- platforms : linux/amd64
85- file : docker/amd64/Dockerfile
86- push : ${{ github.event_name != 'pull_request' }}
87- tags : ${{ steps.meta.outputs.tags }}
88- labels : ${{ steps.meta.outputs.labels }}
89- build-args : |
90- VERSION=0.0.0
9179 cache-from : type=local,src=/tmp/.buildx-cache
9280 cache-to : type=local,dest=/tmp/.buildx-cache-new,mode=max
9381 -
10593 with :
10694 image : " ${{ env.DOCKER_IMAGE }}:${{ steps.meta.outputs.version }}"
10795 shell : bash
96+ options : -v ${{ github.workspace }}:/root/src
10897 run : |
10998 set -eux
11099 cat /etc/debian_version
@@ -180,21 +169,8 @@ jobs:
180169 labels : ${{ steps.meta.outputs.labels }}
181170 build-args : |
182171 VERSION=0.0.0
183- -
184- name : Build and push to local registry
185- uses : docker/build-push-action@v6
186- with :
187- context : .
188- platforms : linux/arm64
189- file : docker/arm64/Dockerfile
190- push : ${{ github.event_name != 'pull_request' }}
191- tags : ${{ steps.meta.outputs.tags }}
192- labels : ${{ steps.meta.outputs.labels }}
193- build-args : |
194- VERSION=0.0.0
195172 cache-from : type=local,src=/tmp/.buildx-cache
196173 cache-to : type=local,dest=/tmp/.buildx-cache-new,mode=max
197-
198174 -
199175 name : Inspect image
200176 run : |
@@ -210,6 +186,7 @@ jobs:
210186 with :
211187 image : " ${{ env.DOCKER_IMAGE }}:${{ steps.meta.outputs.version }}"
212188 shell : bash
189+ options : -v ${{ github.workspace }}:/root/src
213190 run : |
214191 set -eux
215192 cat /etc/debian_version
0 commit comments