Skip to content

Commit

Permalink
filter cu* prefix for docs version
Browse files Browse the repository at this point in the history
Signed-off-by: Bettina Heim <[email protected]>
  • Loading branch information
bettinaheim committed Dec 11, 2024
1 parent 07fc36d commit 063fe39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ jobs:
fi
image_tag=`docker inspect $cudaq_image --format='{{json .Config.Labels}}' | jq -r '."org.opencontainers.image.version"'`
docs_version="CUDA_QUANTUM_VERSION=${image_tag%-base}"
docs_version="CUDA_QUANTUM_VERSION=$(echo $image_tag | sed -re 's/^(cu[0-9]+-)?(.*)-base$/\2/')"
docker image rm $cudaq_image
docker image prune --force
Expand Down

0 comments on commit 063fe39

Please sign in to comment.