Skip to content

Merge pull request #8 from metacpan/haarg/multi-arch #5

Merge pull request #8 from metacpan/haarg/multi-arch

Merge pull request #8 from metacpan/haarg/multi-arch #5

---
name: Build production container
on:
push:
branches:
- main
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-22.04
name: Docker push deployment
steps:
- uses: actions/checkout@v5
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: metacpan/metacpan-base:latest
platforms: linux/amd64,linux/arm64