name: Docker Build

on:
  push:
    branches:
    - master
    #paths:
    #- 'Dockerfile'
    #- 'install*.sh'
    #- 'debian/postinst'
  schedule:
    - cron: '0 2 * * 0' # Weekly on Sundays at 02:00

jobs:
  docker-hub:
    name: Main Job
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Publish to Docker Hub
      uses: elgohr/Publish-Docker-Github-Action@master
      with:
        name: dragoncomputer/dragonfire
        username: ${{ secrets.DOCKER_USERNAME }}
        password: ${{ secrets.DOCKER_PASSWORD }}
        #cache: ${{ github.event_name != 'schedule' }}
        cache: false
name: Docker Build

on:
  push:
    branches:
    - master
    paths:
    - 'Dockerfile'
    - 'install*.sh'
    - 'debian/postinst'
  schedule:
    - cron: '0 2 * * 0' # Weekly on Sundays at 02:00

jobs:
  docker-hub:
    name: Main Job
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Publish to Docker Hub
      uses: elgohr/Publish-Docker-Github-Action@master
      with:
        name: dragoncomputer/dragonfire
        username: ${{ secrets.DOCKER_USERNAME }}
        password: ${{ secrets.DOCKER_PASSWORD }}
        cache: ${{ github.event_name != 'schedule' }}
Bring back the commented out lines in Docker Build workflow
Bring back the commented out lines in Docker Build workflow
