33name : Build Docker images
44
55# This matches the Docker image building done in the release process.
6+ #
7+ # It is possible to use https://github.com/nektos/act to run this workflow.
68
79on :
810 push :
@@ -22,31 +24,42 @@ jobs:
2224 steps :
2325 - uses : actions/checkout@v2
2426
27+ - name : Set up Docker Buildx
28+ uses : docker/setup-buildx-action@v1
29+ with :
30+ # This defaults to "docker-containerized".
31+ # We want to share the vws-mock:base image to the building of the
32+ # later builds, without pushing to a registry.
33+ #
34+ # Therefore, we choose not to build in a container.
35+ driver : docker
36+
2537 - name : Build base Docker image
2638 uses : docker/build-push-action@v2.7.0
2739 with :
40+ buildkitd-flags : --debug
2841 file : src/mock_vws/_flask_server/dockerfiles/base/Dockerfile
2942 push : false
3043 tags : |
3144 vws-mock:base
3245
33- - name : Build and push target manager Docker image
46+ - name : Build target manager Docker image
3447 uses : docker/build-push-action@v2.7.0
3548 with :
3649 file : src/mock_vws/_flask_server/dockerfiles/target_manager/Dockerfile
3750 push : false
3851 tags : |
3952 adamtheturtle/vuforia-target-manager-mock:latest
4053
41- - name : Build and push VWS Docker image
54+ - name : Build VWS Docker image
4255 uses : docker/build-push-action@v2.7.0
4356 with :
4457 file : src/mock_vws/_flask_server/dockerfiles/vws/Dockerfile
4558 push : false
4659 tags : |
4760 adamtheturtle/vuforia-vws-mock:latest
4861
49- - name : Build and push VWQ Docker image
62+ - name : Build VWQ Docker image
5063 uses : docker/build-push-action@v2.7.0
5164 with :
5265 file : src/mock_vws/_flask_server/dockerfiles/vwq/Dockerfile
0 commit comments