Skip to content

metis integration update #40

metis integration update

metis integration update #40

Workflow file for this run

name: metis-docker
on:
workflow_dispatch:
push:
branches:
- metis
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
docker_build_push:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
- name: Login to Github Registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Docker meta
id: docker-meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,enable=true,prefix=,suffix=,format=short
- name: Build and push
id: docker-build-push
uses: docker/build-push-action@v4
with:
file: docker/Dockerfile
push: true
tags: ${{ steps.docker-meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: |
linux/arm64
linux/amd64
build-args: |
RELEASE_VERSION=5.2.1
BLOCKSCOUT_VERSION=v5.2.1-beta
DISABLE_READ_API=false
DISABLE_WEBAPP=false
DISABLE_WRITE_API=false