add simple build script
This commit is contained in:
parent
20b9ab47c5
commit
98634b4b8a
1 changed files with 11 additions and 0 deletions
11
build.sh
Executable file
11
build.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
commit="$(git rev-parse HEAD)"
|
||||
image="git.1e99.eu/1e99/passed"
|
||||
|
||||
docker build -t $image:$commit .
|
||||
docker tag $image:$commit $image:latest
|
||||
|
||||
docker push $image:$commit
|
||||
docker push $image:latest
|
Loading…
Reference in a new issue