Skip to content

Commit d4084db

Browse files
committed
Change workflow to use digest hash rather than 'latest'.
1 parent a5aae60 commit d4084db

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
name: Solid Test Suites
33

4+
env:
5+
PUBSUB_TAG: latest@sha256:35166933e3d30bde801fd156bd2f21ebba9cdeca464ebd574c6be4cdb14d35cd
6+
COOKIE_TAG: latest@sha256:c71a3947f97d96ce09823743182582e0d919738be0d4ef5c8c55a9c22c615b91
7+
48
on:
59
push:
610
branches:
@@ -58,15 +62,20 @@ jobs:
5862

5963
- name: Pull docker Images
6064
run: |
61-
docker pull michielbdejong/nextcloud-cookie
65+
docker pull michielbdejong/nextcloud-cookie:${{ env.COOKIE_TAG }}
6266
docker pull ${{ matrix.test }}
6367
docker pull ghcr.io/pdsinterop/solid-nextcloud:${{ github.sha }}
64-
docker pull ghcr.io/pdsinterop/php-solid-pubsub-server:latest
68+
docker pull ghcr.io/pdsinterop/php-solid-pubsub-server:${{ env.PUBSUB_TAG }}
6569
6670
- name: Start Docker Containers
6771
run: |
6872
docker network create testnet
69-
docker run -i --network=testnet -d --name 'pubsub' "ghcr.io/pdsinterop/php-solid-pubsub-server:latest"
73+
docker run \
74+
--detach \
75+
--interactive \
76+
--name 'pubsub' \
77+
--network=testnet \
78+
"ghcr.io/pdsinterop/php-solid-pubsub-server:${{ env.PUBSUB_TAG }}"
7079
7180
source ./run-solid-test-suite.sh
7281
startSolidNextcloud 'server' "ghcr.io/pdsinterop/solid-nextcloud:${{ github.sha }}" ${{ matrix.test }}

0 commit comments

Comments
 (0)