mirror of https://codeberg.org/dribdat/dribdat.git
15 lines
279 B
Bash
Executable File
15 lines
279 B
Bash
Executable File
#!/bin/bash
|
|
# Runs a Docker build here
|
|
|
|
VER=`git describe --tags --abbrev=0`
|
|
|
|
echo Getting latest tags
|
|
git pull upstream --tags
|
|
|
|
echo Pushing to $VER ...
|
|
docker login
|
|
docker build -t loleg/dribdat:$VER .
|
|
docker push loleg/dribdat:$VER
|
|
docker push loleg/dribdat:latest
|
|
echo Done!
|