-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): add workflow to build and push images
- Loading branch information
1 parent
764abe8
commit 722c619
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |