From 6a01d915ca079fbe978938eb6648a32ce0072425 Mon Sep 17 00:00:00 2001 From: Peter Schiffer <3899107+pschiffe@users.noreply.github.com> Date: Wed, 6 Oct 2021 00:42:58 +0200 Subject: [PATCH] Create docker-image-tag-pdns-fedora-44.yml --- .../docker-image-tag-pdns-fedora-44.yml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/docker-image-tag-pdns-fedora-44.yml diff --git a/.github/workflows/docker-image-tag-pdns-fedora-44.yml b/.github/workflows/docker-image-tag-pdns-fedora-44.yml new file mode 100644 index 0000000..ccc8177 --- /dev/null +++ b/.github/workflows/docker-image-tag-pdns-fedora-44.yml @@ -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 }}