Skip to content

Merge branch 'main' into dev #14

Merge branch 'main' into dev

Merge branch 'main' into dev #14

Workflow file for this run

name: Publish Docker image
permissions:
contents: read
on:
push:
tags:
- "dev"
jobs:
push_to_registry:
name: Push Docker image to Docker hub
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Login to DockerHub
uses: docker/login-action@v2
with:
registry: docker.io
username: ${{ secrets.DOCKER_REPOSITORY_LOGIN }}
password: ${{ secrets.DOCKER_REPOSITORY_PASSWORD }}
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build action image
run: make docker-build
env:
IMAGE_TAG: "docker.io/botsudo/action-doctum:dev"
PLATFORM: "linux/amd64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6"
ACTION: push