on: push: branches: - 'main' name: docker-publish-latest jobs: docker: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: docker/build-push-action@v1 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} repository: willnorris/imageproxy tags: latest