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