Skip to content
This repository was archived by the owner on Jul 4, 2024. It is now read-only.

Commit 61c8d3e

Browse files
committed
test
1 parent bfefbc7 commit 61c8d3e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/_build.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ on:
66
type: string
77
service_account:
88
type: string
9-
gar_path:
9+
gar_repository:
10+
type: string
11+
gar_dst:
1012
type: string
1113
jobs:
1214
build:
@@ -26,6 +28,8 @@ jobs:
2628
uses: google-github-actions/setup-gcloud@v2
2729
- name: Set up Docker Buildx
2830
uses: docker/setup-buildx-action@v3
31+
- name: Log in to GAR
32+
run: gcloud auth configure-docker ${{ inputs.gar_repository }}
2933
- name: Build and push
3034
id: docker_build
3135
uses: docker/build-push-action@v5
@@ -35,4 +39,4 @@ jobs:
3539
platforms: linux/amd64
3640
push: true
3741
tags: |
38-
${{ inputs.gar_path }}:latest
42+
${{ inputs.gar_dst }}:latest

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ jobs:
2727
with:
2828
workload_identity_provider: projects/723082692741/locations/global/workloadIdentityPools/github-oidc-pool/providers/github-provider
2929
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

0 commit comments

Comments
 (0)