This repository was archived by the owner on Oct 14, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -63,16 +63,12 @@ jobs:
6363 cd operator/
6464 go fmt ./...
6565 go vet ./...
66- - name : Parse Tag
67- id : parse-tag
68- run : echo ::set-output name=version::${GITHUB_REF#refs/*/}
6966 - name : " Build'n Push Operator"
7067 uses : docker/build-push-action@v1
7168 with :
7269 username : ${{ secrets.DOCKER_USERNAME }}
7370 password : ${{ secrets.DOCKER_PASSWORD }}
7471 repository : scbexperimental/operator
75- build_args : VERSION=`${{ steps.parse-tag.outputs.version }}
7672 tag_with_ref : true
7773 tag_with_sha : true
7874 path : ./operator/
Original file line number Diff line number Diff line change @@ -23,8 +23,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager
2323# Refer to https://github.com/GoogleContainerTools/distroless for more details
2424FROM gcr.io/distroless/static:nonroot
2525
26- ARG VERSION=unkown
27- ENV VERSION ENV ${BRANCH}
26+ ENV VERSION=unkown
2827ENV TELEMETRY_ENABLED "true"
2928
3029WORKDIR /
Original file line number Diff line number Diff line change 3434 {{- if .Values.minio.enabled }}
3535 - name : S3_USE_SSL
3636 value : ' false'
37+ - name : VERSION
38+ value : {{ .Chart.Version | quote }}
3739 - name : S3_ENDPOINT
3840 value : " {{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc.cluster.local"
3941 - name : S3_PORT
You can’t perform that action at this time.
0 commit comments