File tree Expand file tree Collapse file tree 3 files changed +3
-144
lines changed Expand file tree Collapse file tree 3 files changed +3
-144
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN if [[ "${ARCH}" == "amd64" ]]; then \
9
9
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.54.2; \
10
10
fi
11
11
12
- ENV DAPPER_ENV REPO TAG DRONE_TAG
12
+ ENV DAPPER_ENV REPO TAG
13
13
ENV DAPPER_SOURCE /go/src/github.com/rancher/kube-api-auth
14
14
ENV DAPPER_OUTPUT ./bin ./dist
15
15
ENV DAPPER_DOCKER_SOCKET true
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
4
4
DIRTY=" -dirty"
5
5
fi
6
6
7
- COMMIT=$( git rev-parse --short HEAD)
8
- GIT_TAG=${DRONE_TAG :- $ (git tag -l --contains HEAD | head -n 1)}
7
+ COMMIT=" $( git rev-parse --short HEAD) "
8
+ GIT_TAG=" $ ( git tag -l --contains HEAD | head -n 1) "
9
9
10
10
if [[ -z " $DIRTY " && -n " $GIT_TAG " ]]; then
11
11
VERSION=$GIT_TAG
You can’t perform that action at this time.
0 commit comments