kopia/build-and-push.sh

10 lines
340 B
Bash
Executable File

#!/usr/bin/env sh
SKIP=no-commit-to-branch,prettier CI=false npx semantic-release
VERSION=`npx semantic-release --version`
docker image build --tag git.molez.org/mandlm/kopia:${VERSION} --tag git.molez.org/mandlm/kopia:latest .
docker image push git.molez.org/mandlm/kopia:${VERSION}
docker image push git.molez.org/mandlm/kopia:latest