Skip to content

Commit

Permalink
update docker image URLs to artifact registry
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahl committed Apr 24, 2024
1 parent e597dd5 commit 8848c0f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions deployment/build-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [ -n "$GIT_STATUS" ]; then
fi

docker build . \
--tag "gcr.io/exac-gnomad/exome-results-browsers:${IMAGE_TAG}" \
--tag "gcr.io/exac-gnomad/exome-results-browsers:latest"
--tag "us-docker.pkg.dev/exac-gnomad/gnomad/exome-results-browsers:${IMAGE_TAG}" \
--tag "us-docker.pkg.dev/exac-gnomad/gnomad/exome-results-browsers:latest"

echo "gcr.io/exac-gnomad/exome-results-browsers:${IMAGE_TAG}"
echo "us-docker.pkg.dev/exac-gnomad/gnomad/exome-results-browsers:${IMAGE_TAG}"
2 changes: 1 addition & 1 deletion deployment/deploy-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ DEPLOY_TAG=$1
DEPLOYMENT_DIR=$(dirname "${0}")
cd "${DEPLOYMENT_DIR}"

IMAGE_NAME="gcr.io/exac-gnomad/exome-results-browsers"
IMAGE_NAME="us-docker.pkg.dev/exac-gnomad/gnomad/exome-results-browsers"

# Push image to container registry
docker push "${IMAGE_NAME}:${DEPLOY_TAG}"
4 changes: 2 additions & 2 deletions deployment/manifests/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ spec:
spec:
containers:
- name: app
image: gcr.io/exac-gnomad/exome-results-browsers
image: us-docker.pkg.dev/exac-gnomad/gnomad/exome-results-browsers
env:
- name: RESULTS_DATA_DIRECTORY
value: /mnt/disks/erb-data/results
- name: TRUST_PROXY
value: "2"
value: '2'
ports:
- name: http
containerPort: 8000
Expand Down

0 comments on commit 8848c0f

Please sign in to comment.