-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds docker manifest for multiple architectures
Signed-off-by: Kevin Griffin <[email protected]>
- Loading branch information
Showing
1 changed file
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
|
||
.PHONY: build-keri | ||
|
||
VERSION := docker-test | ||
|
||
build-keri: | ||
@docker buildx build --platform=linux/amd64 -f images/keripy.dockerfile --tag weboftrust/keri:1.2.0-dev11 . | ||
@docker buildx build --platform=linux/arm64 -f images/keripy.dockerfile --tag weboftrust/keri:1.2.0-dev11-arm64 . | ||
@docker buildx build --platform -f images/keripy.dockerfile linux/amd64,linux/arm64 -t weboftrust/keri:$(VERSION) . | ||
@docker manifest create weboftrust/keri:$(VERSION) --amend weboftrust/keri:amd64 --amend weboftrust/keri:arm64 | ||
|
||
.PHONY: build-witness-demo | ||
build-witness-demo: | ||
@@docker buildx build --platform=linux/amd64 -f images/witness.demo.dockerfile --tag weboftrust/keri-witness-demo:1.1.10 . | ||
@@docker buildx build --platform=linux/arm64 -f images/witness.demo.dockerfile --tag weboftrust/keri-witness-demo:1.1.10-arm64 . | ||
@docker buildx build --platform linux/amd64,linux/arm64 -f images/witness.demo.dockerfile -t weboftrust/keri-witness-demo:$(VERSION) . | ||
@docker manifest create weboftrust/keri-witness-demo:$(VERSION) --amend weboftrust/keri-witness-demo:amd64 --amend weboftrust/keri-witness-demo:arm64 | ||
|
||
.PHONY: publish-keri | ||
publish-keri: | ||
@docker push weboftrust/keri:1.2.0-dev11 | ||
@docker push weboftrust/keri:1.2.0-dev11-arm64 | ||
@docker push weboftrust/keri:$(VERSION) | ||
@docker manifest push weboftrust/keri:$(VERSION) | ||
|
||
.PHONY: publish-keri-witness-demo | ||
publish-keri-witness-demo: | ||
@docker push weboftrust/keri-witness-demo --all-tags | ||
@docker push weboftrust/keri-witness-demo:$(VERSION) | ||
@docker manifest push weboftrust/keri-witness-demo:$(VERSION) |