From bb840085ee70fd08784e7e4cad6baa869c5a27ca Mon Sep 17 00:00:00 2001 From: Anton Schubert Date: Mon, 9 Aug 2021 01:03:17 +0200 Subject: [PATCH] try to fix docker action --- .github/workflows/docker.yml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) 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