Skip to content

Update avalanche ledger go package (#3456) #1821

Update avalanche ledger go package (#3456)

Update avalanche ledger go package (#3456) #1821

name: Publish Docker Image
on:
workflow_dispatch:
push:
tags:
- "*"
branches:
- master
- dev
jobs:
publish_docker_image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install qemu (required for cross-platform builds)
run: |
sudo apt update
sudo apt -y install qemu-system qemu-user-static
sudo systemctl restart docker
- name: Create multiplatform docker builder
run: docker buildx create --use
- name: Build and publish images to DockerHub
env:
DOCKER_USERNAME: ${{ secrets.docker_username }}
DOCKER_PASS: ${{ secrets.docker_pass }}
DOCKER_IMAGE: ${{ secrets.docker_repo }}
BUILD_MULTI_ARCH: 1
run: scripts/build_image.sh
- name: Build and publish bootstrap-monitor image to DockerHub
env:
DOCKER_USERNAME: ${{ secrets.docker_username }}
DOCKER_PASS: ${{ secrets.docker_pass }}
DOCKER_IMAGE: avaplatform/bootstrap-monitor
BUILD_MULTI_ARCH: 1
run: scripts/build_bootstrap_monitor_image.sh