Skip to content

chore: modernize GitHub Actions workflows (#360) #46

chore: modernize GitHub Actions workflows (#360)

chore: modernize GitHub Actions workflows (#360) #46

Workflow file for this run

name: Docker
on:
push:
branches: master
permissions:
contents: read
jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- context: ./proxy
tag: proxy
- context: ./rendertron
tag: latest
- context: ./tracer
tag: tracer
fail-fast: false
name: Docker (dockette/rendertron:${{ matrix.tag }})
continue-on-error: "${{ matrix.tag == 'tracer' }}"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ${{ matrix.context }}
push: true
tags: dockette/rendertron:${{ matrix.tag }}
platforms: linux/amd64 # linux/arm64