Skip to content

Added production docker image with preview domain support #41

Added production docker image with preview domain support

Added production docker image with preview domain support #41

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
# steps taken (and trimmed) from docker-publish.yml
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Test docker image build (production)
uses: docker/build-push-action@v6
with:
context: .
push: false
- name: Test docker image build (local development)
uses: docker/build-push-action@v6
with:
context: .
push: false
args:
- REQ_FILE=requirements/tests.txt

Check failure on line 37 in .github/workflows/docker-test-build.yml

View workflow run for this annotation

GitHub Actions / Docker test build

Invalid workflow file

The workflow is not valid. .github/workflows/docker-test-build.yml (Line: 37, Col: 23): A sequence was not expected