Skip to content

Commit

Permalink
fix building k8s-image under drone (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
dweomer authored Aug 19, 2020
1 parent 3c015af commit 1a231ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.k8s
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt update && \

RUN git clone -b ${KUBERNETES_VERSION} --depth=1 https://github.com/kubernetes/kubernetes.git && \
cd /go/kubernetes && \
KUBE_GIT_VERSION=${TAG} make all
KUBE_GIT_VERSION=${KUBERNETES_VERSION} make all

FROM ubi
RUN microdnf update -y && \
Expand Down
1 change: 0 additions & 1 deletion scripts/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ fi

if [[ -n "$GIT_TAG" ]]; then
VERSION=$GIT_TAG
KUBERNETES_VERSION=$GIT_TAG
else
VERSION="${KUBERNETES_VERSION}-dev+${COMMIT:0:8}$DIRTY"
fi
Expand Down

0 comments on commit 1a231ed

Please sign in to comment.