gluecontainers/desu.local/build-and-push.sh

4 lines
203 B
Bash
Executable File

#! /bin/sh
project="$(basename -- "$PWD")"
docker build --platform linux/arm,linux/arm64,linux/amd64 . -t "rehashedsalt/$project:latest" -t "rehashedsalt/$project:$(git rev-parse --short=7 HEAD)" --push