Merge branch 'main' of github.com:nationalarchives/docker into featur… #148
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: Build and publish | ||
on: | ||
release: | ||
types: | ||
- published | ||
push: | ||
branches: | ||
- main | ||
- feature/** | ||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
build: | ||
uses: ./.github/workflows/_images.yml | ||
with: | ||
image-name: tna-python | ||
docker-context: docker/tna-python | ||
dockerfile: Dockerfile | ||
publish: true | ||
python-root: | ||
name: Python (root) | ||
needs: python | ||
Check failure on line 27 in .github/workflows/publish.yml GitHub Actions / Build and publishInvalid workflow file
|
||
uses: ./.github/workflows/_docker-build-deploy.yml | ||
with: | ||
image-name: tna-python-root | ||
docker-context: docker/tna-python-root | ||
dockerfile: Dockerfile | ||
publish: true | ||
ignore-linting-rules: DL3002 | ||
python-django: | ||
name: Python Django | ||
needs: python | ||
uses: ./.github/workflows/_docker-build-deploy.yml | ||
with: | ||
image-name: tna-python-django | ||
docker-context: docker/tna-python-django | ||
dockerfile: Dockerfile | ||
publish: true | ||
python-django-root: | ||
name: Python Django (root) | ||
needs: python-django | ||
uses: ./.github/workflows/_docker-build-deploy.yml | ||
with: | ||
image-name: tna-python-django-root | ||
docker-context: docker/tna-python-django-root | ||
dockerfile: Dockerfile | ||
publish: true | ||
ignore-linting-rules: DL3002 |