mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 00:40:58 +01:00
29 lines
735 B
YAML
29 lines
735 B
YAML
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 |