Skip to content

Commit 130c05b

Browse files
committed
Fix image name
1 parent 30e2df7 commit 130c05b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/examples_docker.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,10 @@ jobs:
116116
ansys_version=${{ inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}
117117
suffix=${{ inputs.standalone_suffix && format('.{0}', inputs.standalone_suffix) || '' }}
118118
version=${ansys_version:0:2}.${ansys_version:2:1}${suffix}
119-
image_name=$platform-$version
120-
docker pull ghcr.io/ansys-dpf/dpf-standalone:$image_name
121-
docker image tag $image_name: $image_name:latest
119+
tag=$platform-$version
120+
docker pull ghcr.io/ansys-dpf/dpf-standalone:$tag
122121
docker images
123-
echo "DPF_DOCKER=$image_name" >> $GITHUB_ENV
122+
echo "DPF_DOCKER=dpf-standalone:$tag" >> $GITHUB_ENV
124123
125124
# - name: "Install DPF"
126125
# id: set-server-path

0 commit comments

Comments
 (0)