name: Docker build

on:
  push:
    branches: [ '*' ]
    tags: [ '*' ]

jobs:
  docker-build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Build and push Docker images
      uses: docker/build-push-action@v1.0.1
      with:
        username: konstin2
        password: ${{ secrets.DOCKER_PASSWORD }}
        repository: konstin2/mst-docker-test
        tag_with_ref: true

name: Docker build

on:
  push:
    branches: [ '*' ]
    tags: [ '*' ]

jobs:
  docker-build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Build and push Docker images
      uses: docker/build-push-action@v1.0.1
      with:
        username: konstin2
        password: ${{ secrets.DOCKER_PASSWORD }}
        repository: konstin2/meine-stadt-transparent
        tag_with_ref: true

Use github actions instead of docker hub for docker builds
Use github actions instead of docker hub for docker builds

Even without caching, github actions is significantly faster than docker hub
