Skip to content

Conversation

@RicardoJeronimo
Copy link
Contributor

@RicardoJeronimo RicardoJeronimo commented Jun 23, 2025

Adding:

  • Dockerfile (building from source)
  • Docker entrypoint script
  • Docker Compose example
  • GitHub Action to build container

The entrypoint script allows environment variables to be used in order to configure settings in local_settings.py, choose database backends, Memcached server and Redis broker. If a Redis broker is configured, the script asynchronously starts Celery alongside Apache httpd.

grumo35 and others added 30 commits January 31, 2022 11:24
Added basic proxy support from environment variables, need to add this option in parameter of patchman cli.
furlongm and others added 26 commits October 30, 2025 00:17
add errata source options to config file
use redis for caching and use locks for tasks
remove daily cronjob in favour of patchman-celery
Bumps [django](https://github.com/django/django) from 4.2.25 to 4.2.26.
- [Commits](django/django@4.2.25...4.2.26)

---
updated-dependencies:
- dependency-name: django
  dependency-version: 4.2.26
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [django](https://github.com/django/django) from 4.2.26 to 4.2.27.
- [Commits](django/django@4.2.26...4.2.27)

---
updated-dependencies:
- dependency-name: django
  dependency-version: 4.2.27
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Modified tag handling to preserve case
fix same module in different repos
* add priority queues for tasks
* Update repos/tasks.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
Signed-off-by: Marcus Furlong <furlongm@gmail.com>
Comment on lines +9 to +42
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v6
with:
file: docker/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{vars.DOCKERHUB_USERNAME}}/${{vars.DOCKERHUB_CONTAINER}}:latest,${{vars.DOCKERHUB_USERNAME}}/${{vars.DOCKERHUB_CONTAINER}}:${{github.ref_name}}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Checkout for next job
uses: actions/checkout@v4

- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ${{vars.DOCKERHUB_USERNAME}}/${{vars.DOCKERHUB_CONTAINER}}
readme-filepath: docker/README.md

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants