Ver Fonte

Update build.yml

崔庆才丨静觅 há 3 anos atrás
pai
commit
1ccb847bbf
1 ficheiros alterados com 2 adições e 6 exclusões
  1. 2 6
      .github/workflows/build.yml

+ 2 - 6
.github/workflows/build.yml

@@ -29,11 +29,6 @@ jobs:
           username: germey
           password: ${{ secrets.DOCKERHUB_LOGIN_PASSWORD }}
 
-      - name: Extract branch name
-        id: branch
-        shell: bash
-        run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF##*/} | sed 's/master/latest/')"
-
       - name: Build and push
         uses: docker/build-push-action@v2
         with:
@@ -41,4 +36,5 @@ jobs:
           push: true
           platforms: linux/amd64
           tags: |
-            germey/proxypool:${{ steps.branch.outputs.tag }}
+            germey/proxypool:latest
+            germey/proxypool:master