mirror of
https://github.com/itzg/mc-router.git
synced 2024-06-25 10:24:43 +02:00
parent
44d4766f60
commit
5bc93cb3e4
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user