File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,4 +8,13 @@ services:
88- docker
99
1010script :
11- - make build
11+ - TAG=${TRAVIS_TAG:=latest} make build
12+
13+ before_deploy :
14+ - echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin
15+
16+ deploy :
17+ provider : script
18+ script : TAG=${TRAVIS_TAG} make push manifest
19+ on :
20+ tags : true
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ manifest:
2222 inlets/inlets-operator:$(TAG ) -armhf
2323 docker manifest annotate inlets/inlets-operator:$(TAG ) inlets/inlets-operator:$(TAG ) -arm64 --os linux --arch arm64
2424 docker manifest annotate inlets/inlets-operator:$(TAG ) inlets/inlets-operator:$(TAG ) -armhf --os linux --arch arm --variant v6
25- docker manifest push inlets/inlets-operator:$(TAG )
25+ docker manifest push -p inlets/inlets-operator:$(TAG )
2626
2727test :
2828 go test ./...
You can’t perform that action at this time.
0 commit comments