mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
build: Use explicit date version number for dev container
This removes the requirement to ensure that we land PRs that update the Dockerfile (and the appropraite dev_cli.sh change) in a specific time frame. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
d485896edd
commit
c4ad9b45d0
2
.github/workflows/docker-image.yaml
vendored
2
.github/workflows/docker-image.yaml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
# generate Docker tags based on the following events/attributes
|
||||
tags: |
|
||||
type=raw,value={{date 'YYYYMMDD'}}-0
|
||||
type=raw,value=20240407-0
|
||||
type=sha
|
||||
|
||||
- name: Build and push
|
||||
|
@ -7,6 +7,8 @@
|
||||
CLI_NAME="Cloud Hypervisor"
|
||||
|
||||
CTR_IMAGE_TAG="ghcr.io/cloud-hypervisor/cloud-hypervisor"
|
||||
|
||||
# Needs to match explicit version in docker-image.yaml workflow
|
||||
CTR_IMAGE_VERSION="20240407-0"
|
||||
: "${CTR_IMAGE:=${CTR_IMAGE_TAG}:${CTR_IMAGE_VERSION}}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user