Skip to content

Commit

Permalink
Merge pull request #49 from 0xPolygon/SPEC-889-publish-docker-image-t…
Browse files Browse the repository at this point in the history
…o-gcp

GCP docker image publish workflow added
  • Loading branch information
sshrihar authored Feb 11, 2025
2 parents 6aa0fce + df32a49 commit 0962822
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/deploy_gcp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Proof Gen API Deploy docker image to GCP
on:
push:
branches:
- master
- dev
workflow_dispatch:

permissions:
contents: read
id-token: write

jobs:
docker-release:
if: |
(github.event_name == 'push' && github.ref == 'refs/heads/dev') ||
(github.event_name == 'push' && github.ref == 'refs/heads/master')
uses: 0xPolygon/pipelines/.github/workflows/gcp_pipeline_release_image.yaml@main
with:
image_name: proof-generator-api
environment: ${{ (github.ref == 'refs/heads/master' && 'prod') || (github.ref == 'refs/heads/dev' && 'staging') }}

0 comments on commit 0962822

Please sign in to comment.