mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-01-09 06:21:12 +08:00
- Build arguments are injected by the build hook - Badges added: number of pulls, stars and if the build is automated
7 lines
244 B
Bash
7 lines
244 B
Bash
#!/bin/bash
|
|
|
|
docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
|
|
--build-arg VCS_REF=`git rev-parse --short HEAD` \
|
|
--build-arg VERSION=`git describe --abbrev=0 --tag` \
|
|
-t $IMAGE_NAME .
|