Skip to content

Commit

Permalink
Merge pull request #24 from voxpupuli/add_dockerhub
Browse files Browse the repository at this point in the history
also push to dockerhub
  • Loading branch information
bastelfreak authored Nov 15, 2023
2 parents 40acb92 + 038c39b commit 59e7338
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Build and publish a 🛢️ container

on:
push:
paths-ignore:
- '.github/**'
branches:
- 'main'
tags:
Expand Down Expand Up @@ -39,8 +37,12 @@ jobs:
PUPPET_RELEASE=${{ matrix.release }}
PUPPETSERVER_VERSION=${{ matrix.version }}
build_arch: linux/amd64,linux/arm64
docker_username: voxpupulibot
docker_password: ${{ secrets.DOCKERHUB_BOT_PASSWORD }}
build_context: puppetserver
buildfile: puppetserver/Dockerfile
tags: |
ghcr.io/${{ github.repository }}:${{ github.ref_name }}-${{ matrix.release }}
ghcr.io/${{ github.repository }}:latest
docker.io/${{ github.repository }}:${{ github.ref_name }}-${{ matrix.release }}
docker.io/${{ github.repository }}:latest

0 comments on commit 59e7338

Please sign in to comment.