Skip to content

Commit 0c21d2c

Browse files
committed
ci: Add latest tag for ease of use
`dev` image for x86_64 and aarch64 could be pulled through command `docker pull rustvmm/dev:latest` and for riscv64 through `docker pull rustvmm/dev:latest-riscv` for developers/users to use/test. Signed-off-by: Ruoqing He <[email protected]>
1 parent f500dde commit 0c21d2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
# This is needed so that a manifest is created, and we can have the same
6969
# docker container on both x86_64 and arm64.
7070
platforms: linux/amd64,linux/arm64
71-
tags: ${{ env.VERSION }}
71+
tags: ${{ env.VERSION }},${{ env.IMAGE_NAME }}:latest
7272
cache-from: type=gha
7373
cache-to: type=gha,mode=max
7474

@@ -125,7 +125,7 @@ jobs:
125125
file: Dockerfile.riscv64
126126
push: ${{ github.event_name != 'pull_request' }}
127127
platforms: linux/amd64
128-
tags: ${{ env.VERSION }}-riscv
128+
tags: ${{ env.VERSION }}-riscv,${{ env.IMAGE_NAME }}:latest-riscv
129129
cache-from: type=gha
130130
cache-to: type=gha,mode=max
131131

0 commit comments

Comments
 (0)