re-organizing, again...

This commit is contained in:
2020-08-02 11:47:07 -04:00
parent ead87a4451
commit 059d4ac4fc
8 changed files with 12 additions and 25 deletions
Executable
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euxo pipefail
# what a mess. https://stackoverflow.com/a/53183593
YOU_ARE_HERE="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"
# container will be useless unless we bundle the actual OS
test -f "$YOU_ARE_HERE"/container/hdd/hdd.img
# this image is private on Google Cloud Registry, make sure we're logged in
gcloud auth configure-docker
docker build -t gcr.io/jakejarvis/y2k:latest --no-cache "$YOU_ARE_HERE"
docker push gcr.io/jakejarvis/y2k:latest