修改ci
This commit is contained in:
parent
a7042823ac
commit
b7c5478bb1
|
@ -1,6 +1,9 @@
|
||||||
name: docker build
|
name: docker build
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BINARY_PREFIX: "study_xxqg_"
|
BINARY_PREFIX: "study_xxqg_"
|
||||||
|
@ -34,5 +37,6 @@ jobs:
|
||||||
ls -R
|
ls -R
|
||||||
pwd
|
pwd
|
||||||
docker build -t jolanse/study_xxqg ./
|
docker build -t jolanse/study_xxqg ./
|
||||||
docker push jolanse/study_xxqg
|
docker tag jolanse/study_xxqg jolanse/study_xxqg:${{github.ref}}
|
||||||
|
docker push jolanse/study_xxqg:${{github.ref}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue