mirror of https://github.com/ehang-io/nps
Update release0.yml
parent
6ed72c5f95
commit
7b1f6eeaac
|
@ -1,4 +1,4 @@
|
||||||
name: Release
|
name: Release #自动发布
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
|
@ -151,12 +151,12 @@ jobs:
|
||||||
tags: |
|
tags: |
|
||||||
${{ secrets.DOCKERHUB_USERNAME }}/nps:latest
|
${{ secrets.DOCKERHUB_USERNAME }}/nps:latest
|
||||||
${{ secrets.DOCKERHUB_USERNAME }}/nps:${{ env.RELEASE_VERSION }}
|
${{ secrets.DOCKERHUB_USERNAME }}/nps:${{ env.RELEASE_VERSION }}
|
||||||
- name: Build and push npc
|
- name: Build and push npc #编译和发布
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile.npc
|
file: ./Dockerfile.npc
|
||||||
platforms: linux/amd64,linux/arm,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ secrets.DOCKERHUB_USERNAME }}/npc:latest
|
${{ secrets.DOCKERHUB_USERNAME }}/npc:latest
|
||||||
|
|
Loading…
Reference in New Issue