adding docker build alias
This commit is contained in:
parent
f5d3d31244
commit
7233827a91
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
alias ..='cd ..'
|
||||
alias lh='ls -d .*' # show hidden files/directories only
|
||||
alias lsd='ls -aFhlG '
|
||||
|
@ -32,3 +32,5 @@ alias tm="tmux new-session -A -s main"
|
|||
# A crude speedtest with curl
|
||||
alias speedtest="curl -o /dev/null http://speedtest-nyc1.digitalocean.com/100mb.test"
|
||||
|
||||
# Build for multiple platforms and push to forgejo
|
||||
alias dbuild="docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --push -t git.andr3w.net/amd/$(basename $(pwd)):latest -t git.andr3w.net/amd/$(basename $(pwd)):$(date "+%Y-%m-%d") ."
|
||||
|
|
Loading…
Reference in a new issue