kopia/build-and-push.sh

10 lines
340 B
Bash
Raw Normal View History

2023-08-16 20:48:54 +00:00
#!/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