js-dos-pack/docker/nginx/publish.sh
Eliezer Croitoru 835a1f9c89 12
2024-11-08 22:04:45 +02:00

12 lines
251 B
Bash
Executable File

#!/usr/bin/env bash
set -x
name="$(head -1 container-name)"
docker_username="$(head -1 username)"
docker login
docker buildx build -t "${docker_username}/${name}:latest" --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 --push .
set +x