Skip to content

Commit

Permalink
Fix commands
Browse files Browse the repository at this point in the history
  • Loading branch information
suranc committed Mar 19, 2024
1 parent ec425eb commit f2b557e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions gcloud/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:latest

ADD .config/gcloud/application_default_credentials.json /tmp/application_default_credentials.json
ADD tmp/id_token /harness/tmp/id_token
RUN cat /harness/tmp/id_token
ENV GOOGLE_APPLICATION_CREDENTIALS=/tmp/application_default_credentials.json
#RUN echo $GOOGLE_APPLICATION_CREDENTIALS && cat $GOOGLE_APPLICATION_CREDENTIALS
ENV CLOUDSDK_CORE_PROJECT=sales-209522
RUN gcloud auth list
RUN gcloud auth login --brief --cred-file /tmp/application_default_credentials.json
RUN gcloud auth list
RUN gcloud artifacts repositories list
RUN gcloud artifacts repositories list --project sales-209522

0 comments on commit f2b557e

Please sign in to comment.