From 4bbda90501ec69ca07d60766742fbbdd613c53be Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 2 Sep 2020 15:54:33 +0800 Subject: [PATCH] docker.yml: fix yaml syntax --- .github/workflows/docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 2e3fe9f..3b2631e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -32,9 +32,9 @@ jobs: echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin - name: Docker buildx image and push on master branch - if: github.ref == 'refs/heads/master' - run: | - docker buildx build --output "type=image,push=true" --platform=linux/amd64,linux/arm/v7,linux/arm64 --tag xjasonlyu/tun2socks:latest . + if: github.ref == 'refs/heads/master' + run: | + docker buildx build --output "type=image,push=true" --platform=linux/amd64,linux/arm/v7,linux/arm64 --tag xjasonlyu/tun2socks:latest . - name: Replace tag without `v` if: startsWith(github.ref, 'refs/tags/')