File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 tag : ${{ steps.export.outputs.tag }}
1515
1616 runs-on : ubuntu-latest
17+ env :
18+ image : cranecloud/monitoring-api
1719
1820 steps :
1921 - name : Checkout
@@ -24,27 +26,19 @@ jobs:
2426 - name : Install (Buildx)
2527 uses : docker/setup-buildx-action@v3
2628
27- - name : Login (GCP)
28- uses : google-github-actions/auth @v2
29+ - name : Login to Docker Hub
30+ uses : docker/login-action @v2
2931 with :
30- credentials_json : ${{ secrets.CREDENTIALS_JSON }}
31-
32- - name : Install (Gcloud)
33- uses : google-github-actions/setup-gcloud@v1
34- with :
35- project_id : crane-cloud-274413
36- install_components : " gke-gcloud-auth-plugin"
37-
38- - name : Login (GCR)
39- run : gcloud auth configure-docker
32+ username : ${{ secrets.DOCKERHUB_USERNAME }}
33+ password : ${{ secrets.DOCKERHUB_TOKEN }}
4034
4135 - id : meta
4236 name : Tag
4337 uses : docker/metadata-action@v3
4438 with :
4539 flavor : |
4640 latest=true
47- images : gcr.io/crane-cloud-274413/monitoring-api
41+ images : ${{ env.image }}
4842 tags : |
4943 type=ref,event=branch
5044 type=ref,event=pr
You can’t perform that action at this time.
0 commit comments