mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-23 19:42:57 +03:00
Stamp git commit into docker builds. (#325)
This commit is contained in:
parent
b80c44af43
commit
814093cdd3
4 changed files with 16 additions and 2 deletions
|
@ -193,7 +193,13 @@ feature work.
|
|||
Go to the project root directory and run the following command:
|
||||
|
||||
```sh
|
||||
docker build -t wireguard-ui .
|
||||
docker build --build-arg=COMMIT=$(git rev-parse --short HEAD) -t wireguard-ui .
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```sh
|
||||
docker compose build --build-arg=COMMIT=$(git rev-parse --short HEAD)
|
||||
```
|
||||
|
||||
### Build binary file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue