修改Docker
This commit is contained in:
parent
0c5bfbffc7
commit
8197856d3d
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
@ -3,8 +3,6 @@ name: docker
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
tags:
|
|
||||||
- v.*
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
@ -16,10 +14,6 @@ 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
|
||||||
@ -63,7 +57,7 @@ jobs:
|
|||||||
file: ./Inotify/Dockerfile
|
file: ./Inotify/Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ secrets.DOCKERHUB_TAG }}:${{ steps.get_version.outputs.VERSION }}
|
tags: ${{ secrets.DOCKERHUB_TAG }}:master
|
||||||
|
|
||||||
- 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