Skip to content

PATCH: Add option to fetch the height from poktscan (#16) #37

PATCH: Add option to fetch the height from poktscan (#16)

PATCH: Add option to fetch the height from poktscan (#16) #37

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
IMAGE_TAGS: |
type=schedule
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
type=ref,event=pr
type=sha
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker Setup QEMU
uses: docker/[email protected]
- name: Docker Setup Buildx
uses: docker/[email protected]
- name: Docker Metadata action
id: meta
uses: docker/[email protected]
with:
images: eepokt/chain-healthcheck-sidecar
tags: ${{ env.IMAGE_TAGS }}
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/[email protected]
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64