File tree Expand file tree Collapse file tree 3 files changed +3
-15
lines changed Expand file tree Collapse file tree 3 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,9 @@ steps:
33
33
echo '##vso[task.prependpath]$(GOROOT)/bin'
34
34
displayName: "Set up the Go workspace"
35
35
36
- - task : Docker@2
37
- displayName : Login to ACR
38
- inputs :
39
- command : login
40
- containerRegistry : " AGIC Registry"
41
-
42
36
- script : |
43
37
docker buildx create --use
44
- make build-image-multi-arch BUILD_TAG=$(build.buildid) PUSH_IMAGE=true
38
+ make build-image-multi-arch BUILD_TAG=$(build.buildid)
45
39
workingDirectory: "$(modulePath)"
46
40
displayName: "Build nightly image"
47
41
Original file line number Diff line number Diff line change @@ -28,15 +28,9 @@ steps:
28
28
echo '##vso[task.prependpath]$(GOROOT)/bin'
29
29
displayName: "Set up the Go workspace"
30
30
31
- - task : Docker@2
32
- displayName : Login to ACR
33
- inputs :
34
- command : login
35
- containerRegistry : " AGIC Registry"
36
-
37
31
- script : |
38
32
docker buildx create --use
39
- make build-image-multi-arch RELEASE_IMAGE=true PUSH_IMAGE=true
33
+ make build-image-multi-arch RELEASE_IMAGE=true
40
34
workingDirectory: "$(modulePath)"
41
35
displayName: "Build release image"
42
36
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ REPO ?= appgwreg.azurecr.io
21
21
IMAGE_NAME = public/azure-application-gateway/kubernetes-ingress-staging
22
22
IMAGE = ${REPO}/${IMAGE_NAME}
23
23
24
- IMAGE_RESULT_FLAG = --output=type=oci,dest=$(shell pwd) /image/ingress-agic-$(VERSION ) .tar
24
+ IMAGE_RESULT_FLAG = --output=type=oci,dest=$(shell pwd) /image/ingress-agic-$(BUILD_TAG ) .tar
25
25
ifeq ($(PUSH_IMAGE ) , true)
26
26
IMAGE_RESULT_FLAG = --push
27
27
endif
You can’t perform that action at this time.
0 commit comments