Daniel Gibbs
3 years ago
No known key found for this signature in database
GPG Key ID: 4D812BAB6228BBA6
4 changed files with
37 additions and
44 deletions
-
.github/dependabot.yml
-
.github/workflows/codacy-analysis.yml
-
.github/workflows/docker-publish.yml
-
.github/workflows/snyk-container.yml
|
|
@ -2,7 +2,6 @@ |
|
|
|
- name: Dependabot |
|
|
|
version: 2 |
|
|
|
updates: |
|
|
|
|
|
|
|
- package-ecosystem: "github-actions" |
|
|
|
directory: "/" |
|
|
|
schedule: |
|
|
|
|
|
@ -20,7 +20,7 @@ on: |
|
|
|
# The branches below must be a subset of the branches above |
|
|
|
branches: ["main"] |
|
|
|
schedule: |
|
|
|
- cron: '28 22 * * 4' |
|
|
|
- cron: "28 22 * * 4" |
|
|
|
|
|
|
|
permissions: |
|
|
|
contents: read |
|
|
|
|
|
@ -3,38 +3,32 @@ name: Docker Publish |
|
|
|
on: |
|
|
|
push: |
|
|
|
branches: |
|
|
|
- 'main' |
|
|
|
- "main" |
|
|
|
schedule: |
|
|
|
- cron: '0 0 * * *' |
|
|
|
- cron: "0 0 * * *" |
|
|
|
|
|
|
|
jobs: |
|
|
|
docker: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- |
|
|
|
name: Checkout |
|
|
|
- name: Checkout |
|
|
|
uses: actions/checkout@v3 |
|
|
|
- |
|
|
|
name: Set up QEMU |
|
|
|
- name: Set up QEMU |
|
|
|
uses: docker/setup-qemu-action@v2 |
|
|
|
- |
|
|
|
name: Set up Docker Buildx |
|
|
|
- name: Set up Docker Buildx |
|
|
|
uses: docker/setup-buildx-action@v2.2.1 |
|
|
|
- |
|
|
|
name: Login to DockerHub |
|
|
|
- name: Login to DockerHub |
|
|
|
uses: docker/login-action@v2.1.0 |
|
|
|
with: |
|
|
|
username: ${{ secrets.DOCKER_HUB_USERNAME }} |
|
|
|
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} |
|
|
|
- |
|
|
|
name: Login to GitHub Container Registry |
|
|
|
- name: Login to GitHub Container Registry |
|
|
|
uses: docker/login-action@v2.1.0 |
|
|
|
with: |
|
|
|
registry: ghcr.io |
|
|
|
username: ${{ github.actor }} |
|
|
|
password: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
- |
|
|
|
name: Build and push |
|
|
|
- name: Build and push |
|
|
|
uses: docker/build-push-action@v3.2.0 |
|
|
|
with: |
|
|
|
context: . |
|
|
|
|
|
@ -20,7 +20,7 @@ on: |
|
|
|
# The branches below must be a subset of the branches above |
|
|
|
branches: ["main"] |
|
|
|
schedule: |
|
|
|
- cron: '45 1 * * 4' |
|
|
|
- cron: "45 1 * * 4" |
|
|
|
|
|
|
|
permissions: |
|
|
|
contents: read |
|
|
|