Skip to content

Commit

Permalink
cicd: update golang container for go-mod in app-sre
Browse files Browse the repository at this point in the history
Signed-off-by: ldelossa <ldelossa@redhat.com>
  • Loading branch information
ldelossa authored and ldelossa committed Feb 2, 2021
1 parent cb656df commit 30c0311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/openshift/build_and_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -exv
REPOSITORY="quay.io/app-sre"
IMAGE="${REPOSITORY}/clair"

docker run --user="$(id -u):$(id -g)" -v $(pwd):/go/clair:z -e GOCACHE=/go/clair golang:1.14.1-buster "bash" "-c" "cd /go/clair; ls -la; go mod vendor"
docker run --user="$(id -u):$(id -g)" -v $(pwd):/go/clair:z -e GOCACHE=/go/clair golang:1.15.7-buster "bash" "-c" "cd /go/clair; ls -la; go mod vendor"
make container-build

GIT_HASH=`git rev-parse --short=7 HEAD`
Expand Down

0 comments on commit 30c0311

Please sign in to comment.