Skip to content

Commit 6a1b06a

Browse files
committed
fix latest image name
1 parent 0771492 commit 6a1b06a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
tags: |
6060
${{ env.IMAGE_NAME }}:latest-python${{ matrix.version.python }}
6161
${{ env.IMAGE_NAME }}:${{ steps.get_version.outputs.VERSION }}-python${{ matrix.version.python }}
62-
${{ matrix.version.latest && 'latest' || '' }}
62+
${{ matrix.version.latest && format('{0}:latest', env.IMAGE_NAME) || '' }}
6363
cache-from: |
6464
type=local,src=/tmp/.buildx-cache
6565
cache-to: type=local,dest=/tmp/.buildx-cache-new
@@ -75,7 +75,7 @@ jobs:
7575
tags: |
7676
${{ env.IMAGE_NAME }}:latest-slim-python${{ matrix.version.python }}
7777
${{ env.IMAGE_NAME }}:${{ steps.get_version.outputs.VERSION }}-slim-python${{ matrix.version.python }}
78-
${{ matrix.version.latest && 'latest-slim' || '' }}
78+
${{ matrix.version.latest && format('{0}:latest-slim', env.IMAGE_NAME) || '' }}
7979
cache-from: |
8080
type=local,src=/tmp/.buildx-cache
8181
cache-to: type=local,dest=/tmp/.buildx-cache-new

0 commit comments

Comments
 (0)