message: fix: fix AssemblyScript container build
diff: @@ -38,17 +38,20 @@ jobs:
  - name: Cache Image Directories
  run: |
  echo IMAGE_RS_VM_DIR=./packages/cli/src/lib/defaults/build-strategies/wasm/rust/vm >> $GITHUB_ENV
  - echo IMAGE_AS_VM_DIR=./packages/cli/src/lib/defaults/build-strategies/assemblyscript/rust/vm >> $GITHUB_ENV
  + echo IMAGE_AS_VM_DIR=./packages/cli/src/lib/defaults/build-strategies/wasm/assemblyscript/vm >> $GITHUB_ENV
  +
  - name: Read Image VERSION & NAME into env.IMAGE_..._VERSION/NAME
  run: |
  echo IMAGE_RS_VM_NAME=$(cat $IMAGE_RS_VM_DIR/NAME) >> $GITHUB_ENV
  echo IMAGE_RS_VM_VERSION=$(cat $IMAGE_RS_VM_DIR/VERSION) >> $GITHUB_ENV
  echo IMAGE_AS_VM_NAME=$(cat $IMAGE_AS_VM_DIR/NAME) >> $GITHUB_ENV
  echo IMAGE_AS_VM_VERSION=$(cat $IMAGE_AS_VM_DIR/VERSION) >> $GITHUB_ENV
  +
  - name: Check if image tags already exist
  run: |
  echo IMAGE_RS_VM_UNPUBLISHED=$(docker manifest inspect $IMAGE_RS_VM_NAME:$IMAGE_RS_VM_VERSION > /dev/null ; echo $?) >> $GITHUB_ENV
  echo IMAGE_AS_VM_UNPUBLISHED=$(docker manifest inspect $IMAGE_AS_VM_NAME:$IMAGE_AS_VM_VERSION > /dev/null ; echo $?) >> $GITHUB_ENV
  +
  - name: Build & Publish RS VM Image
  if: ${{env.IMAGE_RS_VM_UNPUBLISHED}}
  working-directory: ${{env.IMAGE_RS_VM_DIR}}
  @@ -56,6 +59,7 @@ jobs:
  docker buildx create --use --name rs-vm-builder
  docker buildx build . --platform=linux/amd64,linux/arm64 -t $IMAGE_RS_VM_NAME:latest -t $IMAGE_RS_VM_NAME:$IMAGE_RS_VM_VERSION --output type=registry
  docker buildx rm rs-vm-builder
  +
  - name: Build & Publish AS VM Image
  if: ${{env.IMAGE_AS_VM_UNPUBLISHED}}
  working-directory: ${{env.IMAGE_AS_VM_DIR}}
  