name: Docker Hub Description on: push: branches: - master jobs: docker-description: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Docker Hub Description uses: peter-evans/dockerhub-description@v2.4.1 if: ${{ env.DOCKER_USERNAME != '' && env.DOCKER_PASSWORD != '' }} env: DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} repository: factoriotools/factorio