This repository was archived by the owner on Jul 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 6
6
type : string
7
7
service_account :
8
8
type : string
9
- gar_path :
9
+ gar_repository :
10
+ type : string
11
+ gar_dst :
10
12
type : string
11
13
jobs :
12
14
build :
26
28
uses : google-github-actions/setup-gcloud@v2
27
29
- name : Set up Docker Buildx
28
30
uses : docker/setup-buildx-action@v3
31
+ - name : Log in to GAR
32
+ run : gcloud auth configure-docker ${{ inputs.gar_repository }}
29
33
- name : Build and push
30
34
id : docker_build
31
35
uses : docker/build-push-action@v5
35
39
platforms : linux/amd64
36
40
push : true
37
41
tags : |
38
- ${{ inputs.gar_path }}:latest
42
+ ${{ inputs.gar_dst }}:latest
Original file line number Diff line number Diff line change 27
27
with :
28
28
workload_identity_provider : projects/723082692741/locations/global/workloadIdentityPools/github-oidc-pool/providers/github-provider
29
29
service_account : reearth-dev-github-oidc@reearth-development.iam.gserviceaccount.com
30
- gar_path : asia-northeast1-docker.pkg.dev/reearth-development/eukarya/notion-proxy
30
+ gar_repository : asia-northeast1-docker.pkg.dev
31
+ gar_dst : asia-northeast1-docker.pkg.dev/reearth-development/eukarya/notion-proxy
You can’t perform that action at this time.
0 commit comments