修改Docker

This commit is contained in:
xpnas 2021-03-26 23:32:24 +08:00
parent 7d98418b9c
commit 0c5bfbffc7

View File

@ -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!