name: Docker Image CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 name: Check out code - uses: mr-smithers-excellent/docker-build-push@v5 name: Build & push Docker image with: image: darrenofficial/dpaste registry: docker.io tags: v1, latest username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }}