Skip to content

feat: ibc conformance test (#416) #34

feat: ibc conformance test (#416)

feat: ibc conformance test (#416) #34

Workflow file for this run

name: Create and Push Docker Image
on:
push:
tags:
- '**'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: strangelove-ventures/[email protected]
with:
chain: noble
dockerfile: cosmos
build-target: make install
binaries: |
- /go/bin/nobled
draft-release:
needs: build-and-push-image
runs-on: ubuntu-latest
steps:
- name: Copy Binary
run: |
docker create -it --entrypoint sh --name amd --platform linux/amd64 ${{ env.REGISTRY }}/${{ github.repository }}:${{ github.ref_name }}
docker create -it --entrypoint sh --name arm --platform linux/arm64 ${{ env.REGISTRY }}/${{ github.repository }}:${{ github.ref_name }}
docker cp amd:/bin/nobled ./nobled_linux-amd64
docker cp arm:/bin/nobled ./nobled_linux-arm64
sha256sum ./nobled_linux-amd64 > ./nobled_sha256.txt
sha256sum ./nobled_linux-arm64 >> ./nobled_sha256.txt
- name: Draft Release
uses: softprops/action-gh-release@v2
with:
draft: true
files: |
nobled_linux-amd64
nobled_linux-arm64
nobled_sha256.txt