summaryrefslogtreecommitdiff
path: root/.github/workflows/docker.yml
blob: 8e505b557fbe7d0a4e707b99467904af8c9c5541 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
on:
  push:
    branches:
      - python

name: "Publish Docker Image"

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Code
        uses: actions/checkout@master
      - name: Publish Docker image
        uses: docker/build-push-action@v1
        with:
          username: ${{ secrets.DOCKER_USERNAME }}
          password: ${{ secrets.DOCKER_PASSWORD }}
          registry: ghcr.io
          repository: romangraef/herrschwarzify
          tag_with_ref: true
          tags: latest