From ff44f05fd1fa5af933f8a387ac382e41f1858ad9 Mon Sep 17 00:00:00 2001 From: "Hiroshi.tao" Date: Sat, 4 Sep 2021 17:58:54 +0800 Subject: [PATCH] docker image master replace to latest --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1e2fb80..7dcfee0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: - name: Extract branch name id: branch shell: bash - run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/heads/})" + run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/heads/} | sed 's/master/latest/')" - name: Build and push uses: docker/build-push-action@v2