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 92cc7a9
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@f982f0f1e56ffdc109c0bb6b2bf23ec91b7da55e
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@f982f0f1e56ffdc109c0bb6b2bf23ec91b7da55e
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 92cc7a9

Please sign in to comment.