2023-11-06 23:25:51 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
name="$(head -1 container-name)"
|
|
|
|
docker_username="$(head -1 username)"
|
|
|
|
|
|
|
|
docker login
|
2023-11-07 01:57:46 +02:00
|
|
|
docker buildx build -t "${docker_username}/${name}:latest" --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 --push .
|
2023-11-06 23:25:51 +02:00
|
|
|
|
|
|
|
set +x
|