config: add docker image workflow

This commit is contained in:
Manuel
2024-02-03 22:35:30 +01:00
parent 9d520874f4
commit 154fc050cd
2 changed files with 30 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
name: CI
name: Code quality analysis
on:
pull_request:

29
.github/workflows/docker-image.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Docker image
on:
push:
branches:
- main
workflow_dispatch: {}
permissions:
contents: write
jobs:
deploy:
name: Deploy docker image
runs-on: ubuntu-latest
steps:
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: 'Deployment of an image has been triggered'
- uses: actions/checkout@v4
- name: Bump version and push tag
uses: anothrNick/github-tag-action@1.64.0 # Don't use @master or @v1 unless you're happy to test the latest version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: false
DRY_RUN: true