Skip to content

Documentation

Documentation #4

Workflow file for this run

name: Build and publish the docker image
permissions:
contents: read
on:
push:
tags:
- "latest"
jobs:
build-and-publish-action:
name: Build and publish the docker image
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
registry: docker.io
username: ${{ secrets.DOCKER_REPOSITORY_LOGIN }}
password: ${{ secrets.DOCKER_REPOSITORY_PASSWORD }}
- name: Build action image
run: make docker-build
env:
PLATFORM: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/riscv64
ACTION: push
PROGRESS_MODE: plain
IMAGE_TAG: botsudo/action-shunit2