diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f0f035c..d8b8e70 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -16,6 +16,10 @@ 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 @@ -59,7 +63,7 @@ jobs: file: ./Inotify/Dockerfile platforms: linux/amd64 push: true - tags: ${{ secrets.DOCKERHUB_TAG }}:${{ github.ref }} + tags: ${{ secrets.DOCKERHUB_TAG }}:${{ steps.get_version.outputs.VERSION }} - name: 'Report Suecss' run: curl ${{ secrets.INOTIFY }}/Inotify/dockerBuildComplated!