Skip to content

fix: include complete timeout in signature generator failure (#927) #27

fix: include complete timeout in signature generator failure (#927)

fix: include complete timeout in signature generator failure (#927) #27

name: Docker Image
on:
push:
branches:
- develop
pull_request:
paths:
- mpc-recovery/**
jobs:
build-image:
runs-on: ubuntu-latest
name: Build and Push
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Login to GCP Artifact Registry
run: echo "$GOOGLE_CREDENTIALS" | docker login -u _json_key --password-stdin https://us-east1-docker.pkg.dev
env:
GOOGLE_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS_DEV }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v4
with:
context: .
tags: us-east1-docker.pkg.dev/pagoda-discovery-platform-dev/mpc-recovery/mpc-recovery-dev:${{ github.sha }}
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Push Docker image
run: docker push us-east1-docker.pkg.dev/pagoda-discovery-platform-dev/mpc-recovery/mpc-recovery-dev:${{ github.sha }}