Skip to content

Commit

Permalink
ci: Add latest tag for ease of use
Browse files Browse the repository at this point in the history
`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]>
  • Loading branch information
RuoqingHe committed Jan 17, 2025
1 parent f500dde commit 24644a9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ jobs:
# This is needed so that a manifest is created, and we can have the same
# docker container on both x86_64 and arm64.
platforms: linux/amd64,linux/arm64
tags: ${{ env.VERSION }}
tags:
# This is for rust-vmm-ci to reference
- ${{ env.VERSION }}
# This is for developers/users to use
- ${{ env.IMAGE_NAME }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max

Expand Down Expand Up @@ -125,7 +129,11 @@ jobs:
file: Dockerfile.riscv64
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64
tags: ${{ env.VERSION }}-riscv
tags:
# This is for rust-vmm-ci to reference
- ${{ env.VERSION }}-riscv
# This is for developers/users to use
- ${{ env.IMAGE_NAME }}:latest-riscv
cache-from: type=gha
cache-to: type=gha,mode=max

Expand Down

0 comments on commit 24644a9

Please sign in to comment.