mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-08-19 23:27:23 -04:00
Add build script to be called by ledgersmb-release-tools/publish
This commit is contained in:
parent
5a862e621c
commit
be91e20c09
13
build
Executable file
13
build
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euxo pipefail
|
||||
|
||||
${DOCKER:-docker} buildx build \
|
||||
--progress plain \
|
||||
--platform ${PLATFORM:-linux/amd64,linux/arm64,linux/arm/v7} \
|
||||
--build-arg "ARTIFACT_LOCATION=$ARTIFACT_LOCATION" \
|
||||
-t ledgersmb/ledgersmb:$BRANCH \
|
||||
-t ledgersmb/ledgersmb:$VERSION \
|
||||
-t ghcr.io/ledgersmb/ledgersmb:$BRANCH \
|
||||
-t ghcr.io/ledgersmb/ledgersmb:$VERSION \
|
||||
--push .
|
Loading…
Reference in New Issue
Block a user