File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 20
20
- name : Log into registry
21
21
run : echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ vars.DOCKER_USERNAME }} --password-stdin ${{ vars.IMAGE_REPO }}
22
22
23
+ - name : Set up QEMU
24
+ uses : docker/setup-qemu-action@v1
25
+ with :
26
+ platforms : all
27
+
28
+ - name : Set up Docker buildx
29
+ uses : docker/setup-buildx-action@v1
30
+
23
31
- name : Declare some variables
24
32
shell : bash
25
33
run : |
28
36
29
37
- name : Run Build
30
38
run : |
31
- docker build -f Dockerfile . --tag ${{ vars.IMAGE_REPO }}/edgewize/caddy:${{ env.branch }}-${{ env.suffix }}
32
-
33
- - name : Run Push
34
- run : |
35
- docker push ${{ vars.IMAGE_REPO }}/edgewize/caddy:${{ env.branch }}-${{ env.suffix }}
39
+ docker buildx build --platform linux/amd64,linux/arm64 --push -f Dockerfile . --tag ${{ vars.IMAGE_REPO }}/edgewize/caddy:${{ env.branch }}-${{ env.suffix }}
You can’t perform that action at this time.
0 commit comments