added just recipes
This commit is contained in:
parent
4dd46a6e44
commit
8f8c1f7be6
1 changed files with 11 additions and 0 deletions
11
justfile
Normal file
11
justfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
name := 'git.ficd.sh/ficd/based-alpine'
|
||||
|
||||
# build the image
|
||||
build arg="latest":
|
||||
docker build -t {{name}}:{{arg}} .
|
||||
# push the image
|
||||
push arg="latest":
|
||||
docker push {{name}}:{{arg}}
|
||||
# run cmd in image
|
||||
run arg="sh":
|
||||
docker run --rm -it {{name}} {{arg}}
|
Loading…
Add table
Add a link
Reference in a new issue