Skip to content

Commit 87b7915

Browse files
committed
ci: push image w/o version prefix
Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
1 parent 24e765d commit 87b7915

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/image.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v5
3333
name: Check out code
34-
34+
3535
- name: Install Go
3636
uses: actions/setup-go@v6
3737
with:
@@ -61,3 +61,9 @@ jobs:
6161
run: |
6262
echo "${VERSION}"
6363
make -f deployments/container/Makefile build
64+
# Push the image again, using a shorter tag (only the 8 character
65+
# commit hash). That's for consumption in downstream CI (for copying
66+
# the image from GHCR to elsewhere). See
67+
# https://github.com/NVIDIA/k8s-dra-driver-gpu/issues/688
68+
export IMAGE_TAG="$(echo $GITHUB_SHA | cut -c1-8)"
69+
make -f deployments/container/Makefile build

0 commit comments

Comments
 (0)