mirror of
https://github.com/swissmakers/wireguard-manager.git
synced 2026-04-19 10:43:22 +02:00
Stamp git commit into docker builds. (#325)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user