File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 46
46
- name : Checkout
47
47
uses : actions/checkout@v2
48
48
49
- # - name: Login to GCP
50
- # uses: google-github-actions/setup-gcloud@v0
51
- # with:
52
- # project_id: ${{ secrets.GCP_PROJECT_ID }}
53
- # service_account_email: ${{ secrets.GCP_EMAIL }}
54
- # service_account_key: ${{ secrets.GCP_CREDENTIALS }}
55
- #
56
- # - name: Configure Docker
57
- # run: gcloud auth configure-docker --quiet
58
- #
59
- # - name: Checkout repository
60
- # uses: actions/checkout@v2
61
- #
62
- # - name: Build Docker image
63
- # run: docker build . -t $IMAGE_NAME
64
- #
65
- # - name: Test Docker image
66
- # run: docker run $IMAGE_NAME sh -c "go test -v"
67
- #
68
- # - name: Push Docker image
69
- # run: docker push $IMAGE_NAME
70
49
- name : Login to GCR
71
50
uses : docker/login-action@v1
72
51
with :
91
70
docker image tag $GCR_REGISTRY/$GCR_REPOSITORY:$IMAGE_TAG $GCR_REGISTRY/$GCR_REPOSITORY:latest
92
71
docker push $GCR_REGISTRY/$GCR_REPOSITORY:$IMAGE_TAG
93
72
docker push $GCR_REGISTRY/$GCR_REPOSITORY:latest
94
- # echo ${{ secrets.GCP_CREDENTIALS }} | docker login -u _json_key --password-stdin https://gcr.io
You can’t perform that action at this time.
0 commit comments