Skip to content

Commit 3ed052a

Browse files
authored
Try to unset go flags to make mod work maybe (#46)
1 parent 144e706 commit 3ed052a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ RUN apk add --no-cache git gcc musl-dev make
66
WORKDIR /go/src/github.com/infobloxopen/migrate
77

88
ENV GO111MODULE=on
9+
ENV GOFLAGS=""
910

1011
COPY go.mod go.sum ./
1112

Jenkinsfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ pipeline {
3232
}
3333
}
3434
stage("Build Image") {
35-
// only build images on trunk builds. An alternate approach
36-
// when { branch 'main' } or when { anyOf { branch "main", branch "develop", "ib" } }
37-
when {
38-
expression { ! isPrBuild() }
39-
}
4035
steps {
4136
withDockerRegistry([credentialsId: "${env.JENKINS_DOCKER_CRED_ID}", url: ""]) {
4237
dir("$DIRECTORY") {

0 commit comments

Comments
 (0)