Skip to content

Commit

Permalink
test docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Zheng Xi Zhou <[email protected]>
  • Loading branch information
zzxwill committed Jan 5, 2022
1 parent ee07583 commit e442cc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Docker
on:
push:
branches:
- master
- build
tags:
- "v*"
workflow_dispatch: {}
Expand All @@ -17,7 +17,7 @@ jobs:
run: |
tag=${GITHUB_REF#refs/tags/}
VERSION=${tag#"v"}
if [[ ${GITHUB_REF} == "refs/heads/master" ]]; then
if [[ ${GITHUB_REF} == "refs/heads/build" ]]; then
VERSION=latest
fi
echo ::set-output name=VERSION::${VERSION}
Expand Down

0 comments on commit e442cc6

Please sign in to comment.