Skip to content

Merge pull request #106 from tarioch/dependabot/pip/fava-1.26 #234

Merge pull request #106 from tarioch/dependabot/pip/fava-1.26

Merge pull request #106 from tarioch/dependabot/pip/fava-1.26 #234

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 }}