Skip to content

Merge pull request #102 from tarioch/dependabot/docker/python-3.11.5 #227

Merge pull request #102 from tarioch/dependabot/docker/python-3.11.5

Merge pull request #102 from tarioch/dependabot/docker/python-3.11.5 #227

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [master]
pull_request:
branches: [master]
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Publish Snapshot to Registry
uses: HurricanKai/Publish-Docker-Github-Action@master
if: "!contains(github.ref, 'refs/tags/v') && !contains(github.ref, 'refs/pull')"
with:
name: tarioch/fava
snapshot: true
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Publish Release to Registry
uses: HurricanKai/Publish-Docker-Github-Action@master
if: contains(github.ref, 'refs/tags/v')
with:
name: tarioch/fava
tagging: true
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}