File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -124,22 +124,24 @@ jobs:
124124 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
125125 tags : |
126126 type=ref,event=branch
127+
127128
128129 - name : Set up QEMU
129130 uses : docker/setup-qemu-action@v3
130131 - name : Set up Docker Buildx
131132 uses : docker/setup-buildx-action@v3
132133
133134 - name : Build and push the database image
134- run : |
135- docker buildx build \
136- --no-cache \
137- --platform linux/amd64,linux/arm64 \
138- --build-arg DATA_DIR=${{ env.TMP_DATA_DIR }} \
139- --push \
140- -f Dockerfile.seed \
141- --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest \
142- .
135+ uses : docker/build-push-action@v5
136+ with :
137+ file : Dockerfile.seed
138+ context : .
139+ build-args : DATA_DIR=${{ env.TMP_DATA_DIR }}
140+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
141+ platforms : linux/amd64,linux/arm64
142+ labels : ${{ steps.meta.outputs.labels }}
143+ annotations : ${{ steps.meta.outputs.annotations }}
144+ push : true
143145
144146 notify_slack :
145147 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments