12 lines
211 B
Bash
12 lines
211 B
Bash
|
#!/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
|