Add docker build script
This commit is contained in:
parent
ddec44c807
commit
e3f7a5667c
11
docker/docker.sh
Normal file
11
docker/docker.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user