Skip to content

add dockerfile for releases #19

add dockerfile for releases

add dockerfile for releases #19

name: Create and Push Container Image (heighliner)
on:
push:
tags:
- "**"
branches:
- "**"
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: strangelove-ventures/[email protected]
with:
chain: pocket-network
dockerfile: cosmos
platform: linux/arm64,linux/amd64
pre-build: |
make -d heighliner_pre_build
build-target: |
make -d heighliner_build
binaries: |
- /go/bin/poktrolld