Skip to content

chore: update deps (#331) #167

chore: update deps (#331)

chore: update deps (#331) #167

name: Build and push latest docker image
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-push-latest-docker-image:
strategy:
matrix:
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code and submodule
uses: actions/checkout@v4
with:
submodules: recursive
- uses: nelonoel/[email protected]
- name: fetch tags
run: |
git fetch --unshallow
- name: Install SSH key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.CICD_RSA_KEY }}
- name: Build docker image
run: |
make docker-image
- name: Push to ECR
uses: jwalton/gh-ecr-push@v1
with:
access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
region: us-east-2
local-image: axelar/tofnd
image: tofnd:${{ github.sha }}