You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
374 B
Bash

#!/bin/bash
set -eux pipefail
REGISTRY=projects.torsion.org
IMAGE=$REGISTRY/witten/wake-on-lan-service
sudo docker login $REGISTRY
sudo docker buildx build --push -t $IMAGE:amd64 .
sudo docker buildx build --push --platform linux/arm/v7 -t $IMAGE:armv7 .
sudo docker manifest create --amend $IMAGE:latest $IMAGE:amd64 $IMAGE:armv7
sudo docker manifest push $IMAGE:latest