Skip to content

Commit

Permalink
Automatically generate a GitHub release when publishing a Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgirro committed Sep 15, 2024
1 parent 56f0f50 commit 38dc835
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,19 @@ jobs:
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

- uses: softprops/action-gh-release@v2.0.8
with:
tag_name: ${{ steps.extract-version.outputs.PIHOLE_VERSION }}
body: |
#### This is an update for the `one-container` configuration
- Updating Pi-Hole base image to `${{ steps.extract-version.outputs.PIHOLE_VERSION }}` ([link](https://github.com/pi-hole/docker-pi-hole/releases/tag/${{ steps.extract-version.outputs.PIHOLE_VERSION }}))
#### Update instructions
```shell
docker-compose pull
docker-compose up -d
```
make_latest: true

0 comments on commit 38dc835

Please sign in to comment.