Refactored doc-switcher.js
#560
Workflow file for this run
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: Docker test build | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
build-image: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
req_file: | |
- prod.txt | |
- tests.txt | |
# steps taken (and trimmed) from docker-publish.yml | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Test docker image build (local development) | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
push: false | |
build-args: | | |
REQ_FILE=requirements/${{ matrix.req_file }} |