Skip to content

Commit

Permalink
helm 3.4.2, kubectl 1.20.1 (#73)
Browse files Browse the repository at this point in the history
* adds major version docker tag
  • Loading branch information
dtzar authored Dec 30, 2020
1 parent 4995e83 commit a4453db
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@ sudo: required

env:
DOCKER_IMAGE=dtzar/helm-kubectl
DOCKER_TAG=2.17.0
TAG_LATEST=false
DOCKER_TAG=3.4.2
DOCKER_TAG_MAJOR=3
TAG_LATEST=true

services:
- docker

script:
- docker build --build-arg VCS_REF=`git rev-parse --short HEAD` --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` -t $DOCKER_IMAGE:$DOCKER_TAG .
- if $TAG_LATEST ; then docker tag $DOCKER_IMAGE:$DOCKER_TAG $DOCKER_IMAGE:latest; fi
- docker tag $DOCKER_IMAGE:$DOCKER_TAG $DOCKER_IMAGE:$DOCKER_TAG_MAJOR

after_success:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker push $DOCKER_IMAGE:$DOCKER_TAG
- docker push $DOCKER_IMAGE:$DOCKER_TAG_MAJOR
- if $TAG_LATEST ; then docker push $DOCKER_IMAGE:latest; fi
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ LABEL org.label-schema.vcs-ref=$VCS_REF \

# Note: Latest version of kubectl may be found at:
# https://github.com/kubernetes/kubernetes/releases
ENV KUBE_LATEST_VERSION="v1.19.4"
ENV KUBE_LATEST_VERSION="v1.20.1"
# Note: Latest version of helm may be found at
# https://github.com/kubernetes/helm/releases
ENV HELM_VERSION="v2.17.0"
ENV HELM_VERSION="v3.4.2"

RUN apk add --no-cache ca-certificates bash git openssh curl \
&& wget -q https://storage.googleapis.com/kubernetes-release/release/${KUBE_LATEST_VERSION}/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

Supported tags and release links

* [3.4.2](https://github.com/dtzar/helm-kubectl/releases/tag/3.4.2) - helm v3.4.2, kubectl v1.20.1, alpine 3.12
* [3.4.1](https://github.com/dtzar/helm-kubectl/releases/tag/3.4.1) - helm v3.4.1, kubectl v1.19.4, alpine 3.12
* [3.4.0](https://github.com/dtzar/helm-kubectl/releases/tag/3.4.0) - helm v3.4.0, kubectl v1.19.3, alpine 3.12
* [3.3.4](https://github.com/dtzar/helm-kubectl/releases/tag/3.3.4) - helm v3.3.4, kubectl v1.19.2, alpine 3.12
Expand Down

0 comments on commit a4453db

Please sign in to comment.