Skip to content

Merge branch 'main' of github.com:nationalarchives/docker into featur… #148

Merge branch 'main' of github.com:nationalarchives/docker into featur…

Merge branch 'main' of github.com:nationalarchives/docker into featur… #148

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Build and publish

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 27, Col: 12): Job 'python-root' depends on unknown job 'python'. .github/workflows/publish.yml (Line: 38, Col: 12): Job 'python-django' depends on unknown job 'python'.
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