diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 95a9879..5fab340 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -8,19 +8,20 @@ on: jobs: docker: runs-on: "ubuntu-latest" - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + steps: + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + - name: Login to DockerHub + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push - id: docker_build - uses: docker/build-push-action@v2 - with: - push: true - tags: ghcr.io/voc/srtrelay/srtrelay:latest + - name: Build and push + id: docker_build + uses: docker/build-push-action@v2 + with: + push: true + tags: ghcr.io/voc/srtrelay/srtrelay:latest