Debug cleanup script #15
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: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 3 * * 3" # Build the preview image every Wednesday at 03:00 | |
release: | |
types: | |
- published | |
push: | |
branches: | |
- main | |
- feature/** | |
paths: | |
- .github/** | |
- docker/** | |
- tests/** | |
concurrency: | |
group: ${{ github.ref }}-publish | |
cancel-in-progress: true | |
jobs: | |
python: | |
name: Python | |
uses: ./.github/workflows/_docker-build-deploy.yml | |
with: | |
image-name: tna-python | |
docker-context: docker/tna-python | |
dockerfile: Dockerfile | |
publish: true | |
ignore-linting-rules: DL3002,DL3006 | |
python-root: | |
name: Python (root) | |
uses: ./.github/workflows/_docker-build-deploy.yml | |
with: | |
image-name: tna-python-root | |
docker-context: docker/tna-python | |
user-image: root | |
dockerfile: Dockerfile | |
publish: true | |
ignore-linting-rules: DL3002,DL3006 | |
python-django: | |
name: Python Django | |
needs: python | |
uses: ./.github/workflows/_docker-build-deploy.yml | |
with: | |
image-name: tna-python-django | |
base-image: ghcr.io/nationalarchives/tna-python | |
docker-context: docker/tna-python-django | |
dockerfile: Dockerfile | |
publish: true | |
python-django-root: | |
name: Python Django (root) | |
needs: python-root | |
uses: ./.github/workflows/_docker-build-deploy.yml | |
with: | |
image-name: tna-python-django-root | |
base-image: ghcr.io/nationalarchives/tna-python-root | |
docker-context: docker/tna-python-django | |
dockerfile: Dockerfile | |
publish: true | |
ignore-linting-rules: DL3002 | |
python-dev: | |
name: Python Dev | |
needs: python-root | |
uses: ./.github/workflows/_docker-build-deploy.yml | |
with: | |
image-name: tna-python-dev | |
base-image: ghcr.io/nationalarchives/tna-python-root | |
docker-context: docker/tna-python-dev | |
dockerfile: Dockerfile | |
publish: true | |
ignore-linting-rules: DL3002,DL3008 |