Skip to content

Commit 5cd5e4a

Browse files
committed
fix: second approach
1 parent 8106cb7 commit 5cd5e4a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/nightly_docker_test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,13 @@ jobs:
6969
id: services
7070
run: |
7171
docker manifest inspect ghcr.io/ansys/geometry:${{ matrix.container-stable }} > ${{ matrix.container-stable }}.json
72-
docker manifest inspect ghcr.io/ansys/geometry:${{ matrix.container-unstable }} > ${{ matrix.container-unstable }}.json || "" > ${{ matrix.container-unstable }}.json
72+
docker manifest inspect ghcr.io/ansys/geometry:${{ matrix.container-unstable }} > ${{ matrix.container-unstable }}.json || true
73+
74+
# Verify that the unstable manifest exists - otherwise create an empty file
75+
if [ ! -f ${{ matrix.container-unstable }}.json ]; then
76+
touch ${{ matrix.container-unstable }}.json
77+
fi
78+
7379
7480
# Check if the manifests are the same (and if so, create an output that will skip the next job)
7581
if diff ${{ matrix.container-stable }}.json ${{ matrix.container-unstable }}.json; then

0 commit comments

Comments
 (0)