File tree Expand file tree Collapse file tree 3 files changed +5
-52
lines changed Expand file tree Collapse file tree 3 files changed +5
-52
lines changed Original file line number Diff line number Diff line change 5
5
push :
6
6
branches :
7
7
- master
8
-
8
+ tags :
9
+ - v*
9
10
jobs :
10
11
golint :
11
12
name : vet fmt and lint
55
56
password : ${{ secrets.QUAY_PASSWORD }}
56
57
- name : Build and push
57
58
run : make push-docker-image
58
- - name : Tag
59
- run : make create-docker-image-tag NEW_TAG=canary
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -97,17 +97,15 @@ build_buildx_args=$(BUILDX_EXTRA_ARGS)
97
97
.PHONY : _docker-%
98
98
_docker-% : build-all-platforms
99
99
docker buildx build --platform $(PLATFORMS ) \
100
- --tag $(DOCKER_IMAGE_TAG ) \
100
+ --tag $(DOCKER_IMAGE ) :$(VERSION ) \
101
+ --tag $(DOCKER_IMAGE ) :latest \
102
+ --tag $(DOCKER_IMAGE ) :canary \
101
103
$($* _buildx_args) \
102
104
.
103
105
104
106
build-docker-image : _docker-build
105
107
push-docker-image : _docker-push
106
108
107
- NEW_TAG? =latest
108
- create-docker-image-tag :
109
- docker buildx imagetools create $(DOCKER_IMAGE ) :$(COMMIT ) --tag $(DOCKER_IMAGE ) :$(NEW_TAG )
110
-
111
109
# CI
112
110
113
111
export PATH: =$(GOPATH ) /bin:$(PATH )
You can’t perform that action at this time.
0 commit comments