Skip to content

Commit

Permalink
docker: updating action to run for correctly capturing BUILDPLATFORM …
Browse files Browse the repository at this point in the history
…value
  • Loading branch information
ShahanaFarooqui committed May 24, 2024
1 parent b1bdb4e commit 9a50a2d
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,11 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
platforms: linux/arm64,linux/arm/v7
tags: |
elementsproject/lightningd:${{ github.event.inputs.version }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
- name: Build and push Docker images
run: |
docker buildx build \
--platform linux/arm64,linux/arm/v7 \
--tag elementsproject/lightningd:${{ github.event.inputs.version }} \
--cache-from type=local,src=/tmp/.buildx-cache \
--cache-to type=local,dest=/tmp/.buildx-cache \
--push .

0 comments on commit 9a50a2d

Please sign in to comment.