13 lines
291 B
Bash
Executable file
13 lines
291 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
tag_latest=git.1e99.eu/1e99/passed:latest
|
|
tag_commit=git.1e99.eu/1e99/passed:$(git rev-parse HEAD)
|
|
|
|
docker buildx build \
|
|
--platform linux/amd64,linux/arm/v7,linux/arm64/v8 \
|
|
--force-rm \
|
|
--tag $tag_latest \
|
|
--tag $tag_commit \
|
|
--push \
|
|
.
|