mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2026-01-18 06:34:41 +01:00
Improve build
This commit is contained in:
11
set-env.sh
Normal file
11
set-env.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
VERSION=`cat VERSION`
|
||||
|
||||
if [[ $GITHUB_REF == "master" ]]; then
|
||||
echo "::set-env name=TAGS::latest,${VERSION}"
|
||||
else
|
||||
echo "::set-env name=TAGS::dev,${VERSION}-dev"
|
||||
fi
|
||||
Reference in New Issue
Block a user