@@ -22,6 +22,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: 1.15
|
go-version: 1.15
|
||||||
|
|
||||||
|
- name: Setup docker buildx
|
||||||
|
uses: docker/setup-buildx-action@v1
|
||||||
|
with:
|
||||||
|
install: true
|
||||||
|
|
||||||
- name: Docker login
|
- name: Docker login
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ dockers:
|
|||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- --platform
|
- --platform
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
|
- --load
|
||||||
- --label=org.opencontainers.image.version={{ .Version }}
|
- --label=org.opencontainers.image.version={{ .Version }}
|
||||||
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
||||||
binaries:
|
binaries:
|
||||||
@@ -53,6 +54,7 @@ dockers:
|
|||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- --platform
|
- --platform
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
|
- --load
|
||||||
- --label=org.opencontainers.image.version={{ .Version }}
|
- --label=org.opencontainers.image.version={{ .Version }}
|
||||||
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
||||||
- image_templates:
|
- image_templates:
|
||||||
@@ -62,6 +64,7 @@ dockers:
|
|||||||
build_flag_templates:
|
build_flag_templates:
|
||||||
- --platform
|
- --platform
|
||||||
- linux/arm/v6
|
- linux/arm/v6
|
||||||
|
- --load
|
||||||
- --label=org.opencontainers.image.version={{ .Version }}
|
- --label=org.opencontainers.image.version={{ .Version }}
|
||||||
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
- --label=org.opencontainers.image.revision={{ .FullCommit }}
|
||||||
binaries:
|
binaries:
|
||||||
|
|||||||
Reference in New Issue
Block a user