Skip to content

Commit 051cb1d

Browse files
authored
Merge pull request #52 from FlowCI/develop
Develop
2 parents aa2b272 + 328ec7d commit 051cb1d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ DOCKER_RUN := docker run -it --rm -v $(CURRENT_DIR):/ws $(GOENV) -w /ws --netw
2020

2121
DOCKER_BUILD := ./build.sh
2222

23-
.PHONY: build protogen test docker clean cleanall
23+
.PHONY: build protogen test image clean cleanall
2424

2525
build:
2626
$(DOCKER_RUN) "$(GOGEN) && $(GOBUILD_LINUX) && $(GOBUILD_MAC) && $(GOBUILD_WIN)"
@@ -29,7 +29,7 @@ test:
2929
$(GOTEST_MOCK_GEN)
3030
$(DOCKER_RUN) "$(GOTEST)"
3131

32-
docker: build
32+
image: build
3333
$(DOCKER_BUILD) $(tag)
3434

3535
clean:

executor/docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ func (d *dockerExecutor) pullImageWithName(image string, auth *domain.SimpleAuth
439439
fullRef := image
440440

441441
if isDockerHubImage(image) {
442-
fullRef = image
442+
fullRef = "docker.io/library/" + image
443443
if strings.Contains(image, "/") {
444444
fullRef = "docker.io/" + image
445445
}

0 commit comments

Comments
 (0)