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 authored and jcgruenhage committed Aug 23, 2023
1 parent 764abe8 commit 722c619
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@99b3869fa38e02492b6711c523c96eb6cf638c62
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@99b3869fa38e02492b6711c523c96eb6cf638c62
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 722c619

Please sign in to comment.