Update Docker image references to remove '-tdx' suffix for consistency
This commit is contained in:
parent
a67df5fa3b
commit
e725bf4ab8
|
|
@ -108,7 +108,7 @@ jobs:
|
|||
max-parallel: 1
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.0-20250815-tdx
|
||||
image: asterinas/asterinas:0.16.0-20250815
|
||||
options: --device=/dev/kvm --privileged
|
||||
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
integration-test:
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: asterinas/asterinas:0.16.0-20250815-tdx
|
||||
image: asterinas/asterinas:0.16.0-20250815
|
||||
options: --device=/dev/kvm --privileged
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
runs-on: self-hosted
|
||||
strategy:
|
||||
matrix:
|
||||
image: ['asterinas/asterinas:0.16.0-20250815-tdx', 'asterinas/osdk:0.16.0-20250815-tdx']
|
||||
image: ['asterinas/asterinas:0.16.0-20250815', 'asterinas/osdk:0.16.0-20250815']
|
||||
fail-fast: false
|
||||
container:
|
||||
image: ${{ matrix.image }}
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ git clone https://github.com/asterinas/asterinas
|
|||
2. Run a Docker container as the development environment.
|
||||
|
||||
```bash
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.16.0-20250815-tdx
|
||||
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.16.0-20250815
|
||||
```
|
||||
|
||||
3. Inside the container,
|
||||
|
|
|
|||
|
|
@ -7,11 +7,6 @@ set -e
|
|||
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
ASTER_ROOT_DIR=${SCRIPT_DIR}/../..
|
||||
VERSION=$( cat ${ASTER_ROOT_DIR}/VERSION )
|
||||
|
||||
if [ "$1" = "intel-tdx" ]; then
|
||||
IMAGE_NAME="asterinas/osdk:${VERSION}-tdx"
|
||||
else
|
||||
IMAGE_NAME="asterinas/osdk:${VERSION}"
|
||||
fi
|
||||
IMAGE_NAME="asterinas/osdk:${VERSION}"
|
||||
|
||||
docker run -it -v ${ASTER_ROOT_DIR}:/root/asterinas ${IMAGE_NAME}
|
||||
|
|
|
|||
|
|
@ -8,11 +8,6 @@ SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
|||
ASTER_SRC_DIR=${SCRIPT_DIR}/../..
|
||||
CARGO_TOML_PATH=${SCRIPT_DIR}/../../Cargo.toml
|
||||
VERSION=$( cat ${ASTER_SRC_DIR}/VERSION )
|
||||
|
||||
if [ "$1" = "intel-tdx" ]; then
|
||||
IMAGE_NAME="asterinas/asterinas:${VERSION}-tdx"
|
||||
else
|
||||
IMAGE_NAME="asterinas/asterinas:${VERSION}"
|
||||
fi
|
||||
IMAGE_NAME="asterinas/asterinas:${VERSION}"
|
||||
|
||||
docker run -it --privileged --network=host --device=/dev/kvm --device=/dev/vhost-net -v ${ASTER_SRC_DIR}:/root/asterinas ${IMAGE_NAME}
|
||||
|
|
|
|||
Loading…
Reference in New Issue