Skip to content

Update validator to support floats in min/max and disallow string typ… #45

Update validator to support floats in min/max and disallow string typ…

Update validator to support floats in min/max and disallow string typ… #45

Workflow file for this run

name: Main
on:
push:
branches:
- main
jobs:
docker-push:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Build
run: |
docker build -t onsdigital/eq-questionnaire-validator:latest .
docker build -f Dockerfile-ajv -t onsdigital/eq-questionnaire-validator:latest-ajv .
- name: Push
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
echo "Pushing with tag [latest]"
docker push onsdigital/eq-questionnaire-validator:latest
echo "Pushing AJV validator with tag [$TAG-ajv]"
docker push onsdigital/eq-questionnaire-validator:latest-ajv