- Pull docker image from docker hub
docker pull xcodecraft/pallet-rent
docker tag xcodecraft/pallet-rent gcr.io/hack-at-the-edge/pallet-rent
docker push gcr.io/hack-at-the-edge/pallet-rent
- Deploy the image to Google Cloud Run
gcloud run deploy pallet-rent \
--image=gcr.io/hack-at-the-edge/pallet-rent-character-loadout@sha256:DOCKER_IMAGE_HASH \
--allow-unauthenticated \
--port=9944 \
--args=--dev,--unsafe-ws-external \
--timeout=500 \
--cpu=2 \
--memory=8Gi \
--min-instances=1 \
--max-instances=1 \
--region=europe-west1 \
--project=hack-at-the-edge