Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also push to dockerhub #30

Merged
merged 3 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/build_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,18 @@ jobs:
PUPPETDB_TERMINI_VERSION=${{ matrix.puppetdb_termini_version }}
# we can not yet build arm containers as pdk and bolt are not available for arm
# build_arch: linux/amd64,linux/arm64
docker_username: ${{ vars.DOCKERHUB_USER }}
docker_password: ${{ secrets.DOCKERHUB_TOKEN }}
tags: |
ghcr.io/${{ github.repository }}:${{ github.ref_name }}-${{ matrix.puppet_release }}
ghcr.io/${{ github.repository }}:latest-${{ matrix.puppet_release }}
ghcr.io/${{ github.repository }}:latest
docker.io/${{ github.repository }}:${{ github.ref_name }}-${{ matrix.puppet_release }}
docker.io/${{ github.repository }}:latest-${{ matrix.puppet_release }}
docker.io/${{ github.repository }}:latest

- name: Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ vars.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
# Puppet Development Container

maintained by [betadots GmbH](https://www.betadots.de)
[![Maintained by betadots GmbH](https://img.shields.io/badge/Maintained%20by-betadots%20GmbH-blue.svg)](https://www.betadots.de)
[![QA🚦](https://github.com/betadots/pdc/actions/workflows/ci.yaml/badge.svg)](https://github.com/betadots/pdc/actions/workflows/ci.yaml)
[![Build and publish a 🛢️ container](https://github.com/betadots/pdc/actions/workflows/build_container.yml/badge.svg)](https://github.com/betadots/pdc/actions/workflows/build_container.yml)

This repository holds the code base for the Puppet Development Container (PDC).
This repository contains the code for the betadots Puppet Development Container (PDC).

## Usage

```shell
docker run -ti ghcr.io:betadots/pdc:latest bash
docker run -ti --rm ghcr.io:betadots/pdc:latest bash
```

Instead of running bash, one can mount the repo and execute a script.
Rather than using bash directly, you have the option to mount the repository and run a script.

Included fixed software versions, see: [build_versions.json](build_versions.json)

included fixed software see: [build_versions.json](build_versions.json)
For any given container tag you can lookup the specific versions here: `https://github.com/betadots/pdc/blob/$TAG/build_versions.json`
4 changes: 2 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Create a Release PR.
The release branch has to have the version in the name, because this will be used as `future_version` of the github cnahgelog generator.

```
```shell
git switch main
git pull -r
git switch -c release-v1.0.0
Expand All @@ -20,7 +20,7 @@ git push origin release-v1.0.0

After the merge do:

```
```shell
git switch main
git pull -r
git tag v1.0.0
Expand Down