Skip to content

Commit 6361015

Browse files
authored
Use new questionnaire-validator repo (#37)
1 parent 2ac3d1d commit 6361015

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/pull_request.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
runs-on: ubuntu-latest
8989
services:
9090
validator:
91-
image: onsdigital/eq-schema-validator:v3
91+
image: onsdigital/eq-questionnaire-validator:latest
9292
ports:
9393
- 5001:5000
9494
steps:
@@ -146,9 +146,7 @@ jobs:
146146
- name: Write app version
147147
run: printf "${{ github.event.pull_request.head.sha }}" > .application-version
148148
- name: Tag
149-
run: |
150-
export BRANCH=${{ github.event.pull_request.head.ref }}
151-
echo "::set-env name=TAG::branch-$BRANCH"
149+
run: echo "::set-env name=TAG::${{ github.event.pull_request.head.ref }}"
152150
- name: Build
153151
run: docker build -t onsdigital/eq-questionnaire-runner:$TAG .
154152
- name: Push

scripts/run_validator.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
22

3-
branch=v3
4-
docker pull onsdigital/eq-schema-validator:$branch
5-
docker run -d -p 5001:5000 "onsdigital/eq-schema-validator:$branch"
3+
branch=latest
4+
docker pull onsdigital/eq-questionnaire-validator:$branch
5+
docker run -d -p 5001:5000 "onsdigital/eq-questionnaire-validator:$branch"

0 commit comments

Comments
 (0)