mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2023-10-20 22:33:52 -05:00
minor build tweaks
This commit is contained in:
@@ -5,14 +5,14 @@ set -e
|
||||
# e.g., 14.3
|
||||
PG_VERSION=$1
|
||||
|
||||
#e.g., v1.1
|
||||
#e.g., v2.0.1
|
||||
WALG_VERSION=$2
|
||||
IMAGE_NAME=koehn/postgres-wal-g
|
||||
|
||||
build_image() {
|
||||
BASE=$1
|
||||
IMAGE=$IMAGE_NAME:$BASE-$WALG_VERSION
|
||||
docker buildx build -t $IMAGE --push --platform linux/arm64,linux/amd64 . --build-arg BASE=$PG_VERSION --build-arg WALG_RELEASE=$WALG_VERSION --ulimit memlock=16384:16384
|
||||
docker buildx build --builder k3s-sd -t $IMAGE --push . --build-arg BASE=$PG_VERSION --build-arg WALG_RELEASE=$WALG_VERSION --ulimit memlock=16384:16384
|
||||
}
|
||||
|
||||
build_image "$PG_VERSION" "$WALG_VERSION"
|
||||
|
||||
Reference in New Issue
Block a user