Skip to content
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
3 changes: 3 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
tags: |
type=ref,event=tag

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1

- name: Build and push image
uses: docker/build-push-action@ee4ca427a2f43b6a16632044ca514c076267da23 # v6.19.0
with:
Expand Down
2 changes: 2 additions & 0 deletions docs/features/dockerhub-publish-pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Adds a deployment pipeline that builds and publishes the bot Docker image to Doc
- Added Docker Hub login and image publish steps only (no runtime deploy target yet).
- Added Docker metadata tagging for git tags only.
- Enforced Docker image tag parity with the pushed Git tag (for example, `v1.2.3` -> `v1.2.3`).
- Added explicit Docker Buildx setup so GitHub Actions cache export/import (`type=gha`) works with the Buildx container driver.
- Configured GitHub Actions cache for Docker Buildx layers.

## Security and reproducibility
Expand All @@ -20,6 +21,7 @@ Adds a deployment pipeline that builds and publishes the bot Docker image to Doc
- `actions/checkout@v6.0.1`
- `docker/login-action@v3.7.0`
- `docker/metadata-action@v5.10.0`
- `docker/setup-buildx-action@v3.11.1`
- `docker/build-push-action@v6.19.0`

## Required GitHub configuration
Expand Down
Loading