mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-05 00:42:54 +00:00
tests/pkg: Update remaining builds to pkg/package.mk
Also update the base tools/alpine to latest. Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
@@ -1,15 +1,5 @@
|
||||
.PHONY: tag push
|
||||
default: push
|
||||
|
||||
ORG?=linuxkit
|
||||
IMAGE=test-ltp
|
||||
DEPS=Dockerfile Makefile check.sh
|
||||
DEPS=check.sh
|
||||
NETWORK=1
|
||||
|
||||
HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}')
|
||||
|
||||
tag: $(DEPS)
|
||||
docker build --no-cache -t $(ORG)/$(IMAGE):$(HASH) .
|
||||
|
||||
push: tag
|
||||
DOCKER_CONTENT_TRUST=1 docker pull $(ORG)/$(IMAGE):$(HASH) || \
|
||||
DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE):$(HASH)
|
||||
include ../../../pkg/package.mk
|
||||
|
Reference in New Issue
Block a user