Bump the npm_and_yarn group across 1 directory with 3 updates (#257) #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
docker-push: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 |