This is an automated email from the ASF dual-hosted git repository.
davidarthur pushed a commit to branch markdown
in repository https://gitbox.apache.org/repos/asf/kafka-site.git
The following commit(s) were added to refs/heads/markdown by this push:
new 00c1ee2e4 fix docker image tags
00c1ee2e4 is described below
commit 00c1ee2e4b92769fa479294b7d103f383b9fd0d9
Author: David Arthur <[email protected]>
AuthorDate: Fri Dec 19 21:42:33 2025 -0500
fix docker image tags
---
.github/workflows/build-docker-image.yml | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/build-docker-image.yml
b/.github/workflows/build-docker-image.yml
index 7b31fcd54..baaf41a5d 100644
--- a/.github/workflows/build-docker-image.yml
+++ b/.github/workflows/build-docker-image.yml
@@ -10,7 +10,7 @@ on:
env:
# GitHub Container Registry
REGISTRY: ghcr.io
- IMAGE_NAME: ${{ github.repository }}
+ IMAGE_NAME: kafka-site
jobs:
build-and-push:
@@ -20,6 +20,11 @@ jobs:
packages: write
steps:
+ - name: Env
+ run: printenv
+ env:
+ GITHUB_CONTEXT: ${{ toJson(github) }}
+
- name: Checkout repository
uses: actions/checkout@v4
with:
@@ -40,14 +45,6 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- tags: |
- type=ref,event=branch
- type=ref,event=pr
- type=sha,prefix={{branch}}-
- type=raw,value=latest,enable={{is_default_branch}}
- type=raw,value=prod-{{branch}}
- type=raw,value=prod-{{date 'YYYYMMDD-HHmmss'}}
- type=raw,value=prod-{{sha}},enable={{is_default_branch}}
- name: Build Hugo site
run: |