修改Docker
This commit is contained in:
parent
7d98418b9c
commit
0c5bfbffc7
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@ -16,6 +16,10 @@ jobs:
|
|||||||
name: Check out the repo
|
name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Get version
|
||||||
|
id: get_version
|
||||||
|
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
|
||||||
|
|
||||||
-
|
-
|
||||||
name: Set up QEMU
|
name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
@ -59,7 +63,7 @@ jobs:
|
|||||||
file: ./Inotify/Dockerfile
|
file: ./Inotify/Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ secrets.DOCKERHUB_TAG }}:${{ github.ref }}
|
tags: ${{ secrets.DOCKERHUB_TAG }}:${{ steps.get_version.outputs.VERSION }}
|
||||||
|
|
||||||
- name: 'Report Suecss'
|
- name: 'Report Suecss'
|
||||||
run: curl ${{ secrets.INOTIFY }}/Inotify/dockerBuildComplated!
|
run: curl ${{ secrets.INOTIFY }}/Inotify/dockerBuildComplated!
|
||||||
|
Loading…
Reference in New Issue
Block a user