Skip to content

dev-build

dev-build #21

Workflow file for this run

name: dev-build
on:
workflow_run:
workflows: ["tests"]
branches: [main]
types:
- completed
jobs:
push_dev_images_to_dockerhub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:latest
platforms: linux/amd64,linux/arm64
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Build and push backuper image
uses: docker/build-push-action@v5
with:
file: Dockerfile
context: .
target: build
push: true
tags: rafsaf/backuper:dev
platforms: linux/amd64,linux/arm64