Skip to content

Commit c05f4f3

Browse files
author
Bryan Sieber
committed
Updating login procedure
1 parent a560a4c commit c05f4f3

File tree

2 files changed

+1
-40
lines changed

2 files changed

+1
-40
lines changed

.github/workflows/build-image.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,5 @@ jobs:
8383
"$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" > ./version.json
8484
docker build --file infra/Dockerfile -t $GCR_REGISTRY/$GCR_REPOSITORY:$IMAGE_TAG .
8585
docker image tag $GCR_REGISTRY/$GCR_REPOSITORY:$IMAGE_TAG $GCR_REGISTRY/$GCR_REPOSITORY:latest
86-
docker login -u _json_key -p $GCP_CREDENTIALS https://HOSTNAME
87-
docker push $GCR_REGISTRY/$GCR_REPOSITORY:$IMAGE_TAG
86+
echo $GCP_CREDENTIALS | docker login -u _json_key --password-stdin https://gcr.io docker push $GCR_REGISTRY/$GCR_REPOSITORY:$IMAGE_TAG
8887
docker push $GCR_REGISTRY/$GCR_REPOSITORY:latest

.github/workflows/gcp-deploy.yaml

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)