First commit
This commit is contained in:
20
devbox.json
Normal file
20
devbox.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json",
|
||||
"packages": ["hugo@latest"],
|
||||
"shell": {
|
||||
"init_hook": [
|
||||
"echo 'Welcome to devbox!' > /dev/null"
|
||||
],
|
||||
"scripts": {
|
||||
"build": [
|
||||
"hugo build -s hugo",
|
||||
"docker build --no-cache --platform=linux/arm64/v8 -t 192.168.1.3:3000/jazzman/alphabreed:arm64 .",
|
||||
"docker build --no-cache --platform=linux/amd64 -t 192.168.1.3:3000/jazzman/alphabreed:amd64 .",
|
||||
"docker image save 192.168.1.3:3000/jazzman/alphabreed:arm64 >alphabreed-arm64.tar"
|
||||
],
|
||||
"push": [
|
||||
"docker push 192.168.1.3:3000/jazzman/alphabreed:arm64"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user