linuxkit/test/pkg/Makefile
Avi Deitcher ac8c24934c
Test pkgs ci makefile (#3892)
* simplify test/pkg/Makefile

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* ensure pkg and test/pkg built before downstream workflows in CI

Signed-off-by: Avi Deitcher <avi@deitcher.net>

Signed-off-by: Avi Deitcher <avi@deitcher.net>
2023-01-04 11:52:48 +02:00

22 lines
423 B
Makefile

DIRS = $(dir $(shell find . -maxdepth 2 -mindepth 2 -type f -name build.yml | sort))
.PHONY: push forcepush build forcebuild show-tag clean
OPTIONS ?=
push:
linuxkit pkg push $(OPTIONS) $(DIRS)
forcepush:
linuxkit pkg push $(OPTIONS) --force $(DIRS)
build:
linuxkit pkg build $(OPTIONS) $(DIRS)
forcebuild:
linuxkit pkg build $(OPTIONS) --force $(DIRS)
show-tag:
linuxkit pkg show-tag $(OPTIONS) $(DIRS)
clean: