File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1212 strategy :
1313 fail-fast : false
1414 matrix :
15- # Base image only has amd64
1615 platform : ["linux/amd64", "linux/arm/v7"]
1716 steps :
1817 - name : Checkout repository
Original file line number Diff line number Diff line change 1111
1212env :
1313 IMAGE_TAG : docker.io/botsudo/docker-openldap:latest
14+ PLATFORM : " linux/amd64,linux/arm/v7"
1415
1516jobs :
1617 push_to_registry :
@@ -29,10 +30,23 @@ jobs:
2930 username : ${{ secrets.DOCKER_REPOSITORY_LOGIN }}
3031 password : ${{ secrets.DOCKER_REPOSITORY_PASSWORD }}
3132
32- - name : Build image
33+ # https://github.com/docker/setup-qemu-action
34+ - name : Set up QEMU
35+ uses : docker/setup-qemu-action@v1
36+ # https://github.com/docker/setup-buildx-action
37+ - name : Set up Docker Buildx
38+ uses : docker/setup-buildx-action@v1
39+
40+ - name : Build action image
3341 run : make docker-build
34- - name : Test image
42+ env :
43+ DOCKER_BUILDKIT : 1
44+
45+ - name : Build action image
3546 run : make test
47+ env :
48+ DOCKER_BUILDKIT : 1
49+ COMPOSE_DOCKER_CLI_BUILD : 1
3650
3751 # - name: Sign and push docker image
3852 # uses: sudo-bot/action-docker-sign@latest
You can’t perform that action at this time.
0 commit comments