ci: Load built image into daemon

This commit is contained in:
Geoff Bourne 2020-12-28 12:43:34 -06:00
parent 0305bbe458
commit bb49a6cc0e
2 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,8 @@ jobs:
- name: Setup docker buildx
uses: docker/setup-buildx-action@v1
with:
install: true
- name: Docker login
uses: docker/login-action@v1

View File

@ -41,6 +41,7 @@ dockers:
build_flag_templates:
- --platform
- linux/amd64
- --load
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
binaries:
@ -53,6 +54,7 @@ dockers:
build_flag_templates:
- --platform
- linux/arm64
- --load
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- image_templates:
@ -62,6 +64,7 @@ dockers:
build_flag_templates:
- --platform
- linux/arm/v6
- --load
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
binaries: