This commit is contained in:
johlanse 2022-08-02 16:43:16 +08:00
parent a7042823ac
commit b7c5478bb1
1 changed files with 6 additions and 2 deletions

View File

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