Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

chore: initial commit #1

chore: initial commit

chore: initial commit #1

Workflow file for this run

---
# https://docs.docker.com/build/ci/github-actions/multi-platform/
# https://dev.to/cloudx/multi-arch-docker-images-the-easy-way-with-github-actions-4k54
name: ci
on:
push:
branches:
- "main"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/flabatut/certbot-dns-powerdns:latest
# tags: ${{ steps.META_ID.outputs.tags }}
# labels: ${{ steps.META_ID.outputs.labels }}