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

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomoyane committed Apr 13, 2024
1 parent bfefbc7 commit 61c8d3e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:
type: string
service_account:
type: string
gar_path:
gar_repository:
type: string
gar_dst:
type: string
jobs:
build:
Expand All @@ -26,6 +28,8 @@ jobs:
uses: google-github-actions/setup-gcloud@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GAR
run: gcloud auth configure-docker ${{ inputs.gar_repository }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
Expand All @@ -35,4 +39,4 @@ jobs:
platforms: linux/amd64
push: true
tags: |
${{ inputs.gar_path }}:latest
${{ inputs.gar_dst }}:latest
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ jobs:
with:
workload_identity_provider: projects/723082692741/locations/global/workloadIdentityPools/github-oidc-pool/providers/github-provider
service_account: reearth-dev-github-oidc@reearth-development.iam.gserviceaccount.com
gar_path: asia-northeast1-docker.pkg.dev/reearth-development/eukarya/notion-proxy
gar_repository: asia-northeast1-docker.pkg.dev
gar_dst: asia-northeast1-docker.pkg.dev/reearth-development/eukarya/notion-proxy

0 comments on commit 61c8d3e

Please sign in to comment.