Skip to content

Merge pull request #5 from taurusgroup/master-sync-v1.11.12 #7

Merge pull request #5 from taurusgroup/master-sync-v1.11.12

Merge pull request #5 from taurusgroup/master-sync-v1.11.12 #7

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