Add docker build script

This commit is contained in:
Elara 2022-12-20 14:22:54 -08:00
parent ddec44c807
commit e3f7a5667c

11
docker/docker.sh Normal file
View File

@ -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