mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-14 18:30:52 +02:00
GitHub: specify docker image platforms
To enable building docker images for ARM64 platforms as well, we just need to specify the desired target platforms and the Docker Buildx service will do the job for us (provided the base images support the given platforms, which is the case for golang).
This commit is contained in:
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
@@ -37,6 +37,7 @@ jobs:
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: "${{ env.DOCKER_REPO }}/${{ env.DOCKER_IMAGE }}:${{ env.RELEASE_VERSION }}"
|
||||
build-args: checkout=${{ env.RELEASE_VERSION }}
|
||||
|
||||
|
Reference in New Issue
Block a user