Create docker-image-tag-pdns-fedora-44.yml

This commit is contained in:
Peter Schiffer 2021-10-06 00:42:58 +02:00 committed by GitHub
parent c9247f4b32
commit 6a01d915ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,39 @@
name: Docker Image CI pdns-mysql 4.4 latest
on:
push:
tags: [ 'pdns-mysql-fedora-4.4' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push PDNS latest
id: docker_build_pdns_latest
uses: docker/build-push-action@v2
with:
context: ./pdns
file: ./pdns/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pdns-mysql:4.4
- name: Image digest
run: echo ${{ steps.docker_build_pdns_latest.outputs.digest }}