Skip to content

Commit

Permalink
feat: add deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
reinaldocosta committed Mar 28, 2024
1 parent 1b02acc commit bb388d5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Deploy

on:
push:
branches:
- main

jobs:
test:
uses: gentrop-cloud/actions_workflows/.github/workflows/deploy.yaml@main
with:
identity_pool: 'projects/195139564832/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
identity_sa: 'action-deployer@gtp-reinaldo-study-0001.iam.gserviceaccount.com'
image: 'us-central1-docker.pkg.dev/gtp-reinaldo-study-0001/default-repo/sample:tag1'
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: TestProject

on:
push:
pull_request:
branches:
- main

Expand Down

0 comments on commit bb388d5

Please sign in to comment.