mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-25 04:25:13 +03:00
8 lines
120 B
Bash
8 lines
120 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
version=$(git rev-parse HEAD)
|
||
|
|
||
|
echo "Building version: $version"
|
||
|
|
||
|
docker build -t "$1" -t "$1:$version" .
|