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 55 push :
66 branches :
77 - master
8-
8+ tags :
9+ - v*
910jobs :
1011 golint :
1112 name : vet fmt and lint
5556 password : ${{ secrets.QUAY_PASSWORD }}
5657 - name : Build and push
5758 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)
9797.PHONY : _docker-%
9898_docker-% : build-all-platforms
9999 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 \
101103 $($* _buildx_args) \
102104 .
103105
104106build-docker-image : _docker-build
105107push-docker-image : _docker-push
106108
107- NEW_TAG? =latest
108- create-docker-image-tag :
109- docker buildx imagetools create $(DOCKER_IMAGE ) :$(COMMIT ) --tag $(DOCKER_IMAGE ) :$(NEW_TAG )
110-
111109# CI
112110
113111export PATH: =$(GOPATH ) /bin:$(PATH )
You can’t perform that action at this time.
0 commit comments