Skip to content

Bump django from 3.2.19 to 4.2.4 #37

Bump django from 3.2.19 to 4.2.4

Bump django from 3.2.19 to 4.2.4 #37

Workflow file for this run

name: DLCS Build, Test & Publish
on:
push:
branches: [ "main", "develop" ]
tags: [ "v*" ]
pull_request:
branches: [ "main", "develop" ]
jobs:
test-compositehandler:
runs-on: ubuntu-latest
steps:
- id: checkout
uses: actions/checkout@v3
- id: setup-python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- id: pre-commit
uses: pre-commit/[email protected]
- id: docker-setup-buildx
uses: docker/setup-buildx-action@v2
- id: docker-meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/dlcs/compositehandler
tags: |
type=ref,event=branch
type=ref,event=pr
type=sha,enable=true,prefix=,format=long
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- id: docker-login
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: docker-build-push
uses: docker/build-push-action@v4
with:
context: .
builder: ${{ steps.docker-setup-buildx.outputs.name }}
tags: ${{ steps.docker-meta.outputs.tags }}
labels: ${{ steps.docker-meta.outputs.labels }}
push: ${{ github.actor != 'dependabot[bot]' }}