Skip to content

Commit

Permalink
Fix makefile for aws-janitor-boskos
Browse files Browse the repository at this point in the history
- Make the IMAGE same as the bazel one
- add Go module for `image` target to work
  • Loading branch information
dims committed Oct 30, 2019
1 parent 9158f27 commit 1486b6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maintenance/aws-janitor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

IMAGE ?= gcr.io/k8s-test-infra-aws/aws-janitor
IMAGE ?= gcr.io/k8s-prow/boskos/aws-janitor-boskos
VERSION ?= $(shell date +v%Y%m%d)-$(shell git describe --tags --always --dirty)

image:
CGO_ENABLED=0 go build k8s.io/test-infra/maintenance/aws-janitor
GO111MODULE=on CGO_ENABLED=0 go build k8s.io/test-infra/maintenance/aws-janitor
docker build -t "$(IMAGE):$(VERSION)" .

push: image
Expand Down

0 comments on commit 1486b6d

Please sign in to comment.