From 8197856d3d58df1d7b4f18fa02d341f602a445e9 Mon Sep 17 00:00:00 2001 From: xpnas Date: Fri, 26 Mar 2021 23:36:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Docker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d8b8e70..f0e977d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -3,8 +3,6 @@ name: docker on: push: branches: [ master ] - tags: - - v.* pull_request: branches: [ master ] @@ -15,11 +13,7 @@ jobs: - name: Check out the repo uses: actions/checkout@v2 - - - name: Get version - id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - + - name: Set up QEMU uses: docker/setup-qemu-action@v1 @@ -63,7 +57,7 @@ jobs: file: ./Inotify/Dockerfile platforms: linux/amd64 push: true - tags: ${{ secrets.DOCKERHUB_TAG }}:${{ steps.get_version.outputs.VERSION }} + tags: ${{ secrets.DOCKERHUB_TAG }}:master - name: 'Report Suecss' run: curl ${{ secrets.INOTIFY }}/Inotify/dockerBuildComplated!