From e3f7a5667c24a8c774fcf0557330258c699eab33 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Tue, 20 Dec 2022 14:22:54 -0800 Subject: [PATCH] Add docker build script --- docker/docker.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docker/docker.sh diff --git a/docker/docker.sh b/docker/docker.sh new file mode 100644 index 0000000..bc63b53 --- /dev/null +++ b/docker/docker.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +docker buildx build --platform linux/amd64 --tag arsen6331/lure-web:amd64 . +docker buildx build --platform linux/arm64/v8 --tag arsen6331/lure-web:arm64 . + +docker login +docker push arsen6331/lure-web -a + +docker manifest rm arsen6331/lure-web:latest +docker manifest create arsen6331/lure-web:latest --amend arsen6331/lure-web:arm64 --amend arsen6331/lure-web:amd64 +docker manifest push arsen6331/lure-web:latest