Merge pull request #5 from taurusgroup/master-sync-v1.11.12 #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |