diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 0000000..e538fa5 --- /dev/null +++ b/.github/workflows/docker.yml @@ -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@6e1678fd5d810c5648ebf5931ffad48ea9461f4b + 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@6e1678fd5d810c5648ebf5931ffad48ea9461f4b + 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