Skip to content

Specify nginx version to install #169

Specify nginx version to install

Specify nginx version to install #169

Workflow file for this run

name: Build and publish
permissions:
packages: write
security-events: write
contents: read
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