Compare commits
3 Commits
c8be6bffcc
...
839a60dbb1
| Author | SHA1 | Date | |
|---|---|---|---|
| 839a60dbb1 | |||
| 08c58f10c2 | |||
| a380b9da82 |
@@ -1,15 +0,0 @@
|
|||||||
name: Code Analysis (Bandit)
|
|
||||||
|
|
||||||
on: push
|
|
||||||
jobs:
|
|
||||||
bandit:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: mdegis/bandit-action@v1.0
|
|
||||||
with:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
path: "src/"
|
|
||||||
level: high
|
|
||||||
confidence: high
|
|
||||||
exit_zero: true
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
name: Release Multi-Arch Docker Image
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
packages: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-and-push-docker:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
- name: Log in to GitHub Container Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: ghcr.io
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Transform 'github.repository' to lowercase
|
|
||||||
id: lowercase_repo
|
|
||||||
shell: bash
|
|
||||||
run: echo "repository=${GITHUB_REPOSITORY,,}" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Build and push multi-arch image
|
|
||||||
uses: docker/build-push-action@v5
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
push: true
|
|
||||||
platforms: linux/amd64,linux/arm64
|
|
||||||
tags: |
|
|
||||||
ghcr.io/${{ steps.lowercase_repo.outputs.repository }}:${{ github.event.release.tag_name }}
|
|
||||||
ghcr.io/${{ steps.lowercase_repo.outputs.repository }}:latest
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
name: Linting (Ruff)
|
|
||||||
|
|
||||||
on: [push, pull_request]
|
|
||||||
jobs:
|
|
||||||
ruff:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: astral-sh/ruff-action@v3
|
|
||||||
Reference in New Issue
Block a user