force amd64 ubuntu base image
This commit is contained in:
parent
1b4dc7ab29
commit
b93cec8057
@ -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 maintainer="Jake Jarvis <jake@jarv.is>"
|
||||||
LABEL repository="https://github.com/jakejarvis/y2k"
|
LABEL repository="https://github.com/jakejarvis/y2k"
|
||||||
|
4
build.sh
4
build.sh
@ -13,3 +13,7 @@ doctl registry login
|
|||||||
|
|
||||||
docker build -t registry.digitalocean.com/jakejarvis/y2k:latest --no-cache "$YOU_ARE_HERE"
|
docker build -t registry.digitalocean.com/jakejarvis/y2k:latest --no-cache "$YOU_ARE_HERE"
|
||||||
docker push registry.digitalocean.com/jakejarvis/y2k:latest
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user