File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ RUN apk add --no-cache git
22
22
WORKDIR /go/src/github.com/docker/machine
23
23
24
24
# renovate: datasource=gitlab-tags depName=gitlab-org/ci-cd/docker-machine versioning=semver
25
- ARG DOCKER_MACHINE_VERSION=v0.16.2-gitlab.21
25
+ ARG DOCKER_MACHINE_VERSION=v0.16.2-gitlab.26
26
26
27
27
RUN git clone --branch=${DOCKER_MACHINE_VERSION} https://gitlab.com/gitlab-org/ci-cd/docker-machine .
28
- RUN CGO_ENABLED=0 GO111MODULE=off go build -o docker-machine -trimpath -ldflags="-s -w" ./cmd/docker-machine
28
+ RUN CGO_ENABLED=0 GO111MODULE=on go build -o docker-machine -trimpath -ldflags="-s -w" ./cmd/docker-machine
29
29
30
30
FROM ${GITLAB_RUNNER_IMAGE} as gitlab-runner
31
31
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ docker: docker-build docker-push
8
8
9
9
docker-build :
10
10
@docker build --target docker-machine -t $(DOCKER_MACHINE_IMAGE ) .
11
- @docker build --target gitlab-runner -t $(RUNNER_IMAGE ) :$(RUNNER_VERSION ) .
11
+ @docker build --target gitlab-runner -t $(RUNNER_IMAGE ) :$(RUNNER_VERSION ) -t $( RUNNER_IMAGE ) :latest .
12
12
docker-push :
13
13
@docker push $(DOCKER_MACHINE_IMAGE )
14
14
@docker push $(RUNNER_IMAGE ) :$(RUNNER_VERSION )
15
+ @docker push $(RUNNER_IMAGE ) :latest
You can’t perform that action at this time.
0 commit comments