Skip to content

Commit

Permalink
use GCR in startup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrose14 committed Nov 10, 2023
1 parent c51447b commit 4e76680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
(podman rm webapp) || true

gcloud auth --quiet print-access-token | podman login -u oauth2accesstoken --password-stdin https://us-central1-docker.pkg.dev
podman pull us-central1-docker.pkg.dev/ian-rose/docker-1/webapp:latest
docker pull gcr.io/ian-rose/us-central1-docker.pkg.dev/ian-rose/docker-1/webapp:latest
podman run -d -p 8080:80 -p 8443:443 --restart=no \
-v "$(pwd)/config":/root/config/ -v "$(pwd)/data":/root/data/ --name webapp \
us-central1-docker.pkg.dev/ian-rose/docker-1/webapp:latest /root/webapp -host ianthomasrose.com
gcr.io/ian-rose/us-central1-docker.pkg.dev/ian-rose/docker-1/webapp:latest /root/webapp -host ianthomasrose.com

0 comments on commit 4e76680

Please sign in to comment.