force amd64 ubuntu base image

This commit is contained in:
Jake Jarvis 2021-05-23 11:48:39 -04:00
parent 1b4dc7ab29
commit b93cec8057
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM docker.io/ubuntu:20.04
FROM docker.io/amd64/ubuntu:20.04
LABEL maintainer="Jake Jarvis <jake@jarv.is>"
LABEL repository="https://github.com/jakejarvis/y2k"

View File

@ -13,3 +13,7 @@ doctl registry login
docker build -t registry.digitalocean.com/jakejarvis/y2k:latest --no-cache "$YOU_ARE_HERE"
docker push registry.digitalocean.com/jakejarvis/y2k:latest
# on DigitalOcean, old tags need to be purged manually:
# doctl registry garbage-collection start --force --include-untagged-manifests
# doctl registry garbage-collection get-active