Skip to content

chore(ci): add workflow to build and push images #5

chore(ci): add workflow to build and push images

chore(ci): add workflow to build and push images #5

Workflow file for this run

---
name: Docker
on:
push:
branches: [ "main" ]
tags: [ 'v*.*.*' ]
pull_request:
env:
VERSION: 4.6.2-r1
jobs:
docker-ghcr:
uses: famedly/github-workflows/.github/workflows/docker.yml@docker-v1
with:
push: ${{ github.event_name != 'pull_request' }} # Always build, don't publish on pull requests
image_name: famedly/powerdns
docker-nexus:
uses: famedly/github-workflows/.github/workflows/docker.yml@docker-v1
with:
push: ${{ github.event_name != 'pull_request' }} # Always build, don't publish on pull requests
registry_user: famedly-ci
registry: docker-oss.nexus.famedly.de
image_name: powerdns
secrets: inherit