Skip to content

Commit

Permalink
chore(ci): add workflow to build and push images
Browse files Browse the repository at this point in the history
  • Loading branch information
CherryKitten committed Aug 23, 2023
1 parent 764abe8 commit bd2043e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Docker

on:
push:
tags: [ '*.*.*' ]

env:
VERSION: "4.6.2-r1"

jobs:
docker-ghcr:
uses: famedly/github-workflows/.github/workflows/docker.yml@0bf52a75102bbc6f87fd97c260688c2e7d8b6226
with:
push: ${{ github.event_name != 'pull_request' }} # Always build, don't publish on pull requests
image_name: famedly/powerdns
build_args: '["VERSION=${{ github.ref_name }}"]'
docker-nexus:
uses: famedly/github-workflows/.github/workflows/docker.yml@0bf52a75102bbc6f87fd97c260688c2e7d8b6226
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
build_args: '["VERSION=${{ github.ref_name }}"]'
secrets: inherit

0 comments on commit bd2043e

Please sign in to comment.