2023-07-03 00:16:08 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e -u -o pipefail
|
|
|
|
|
|
|
|
package=github.com/hansmi/prometheus-paperless-exporter
|
|
|
|
docker_gid=$(getent group docker | cut -d: -f3)
|
|
|
|
|
|
|
|
docker run --rm \
|
|
|
|
--user "$(id -u):$(id -g)" --group-add="$docker_gid" \
|
|
|
|
--env HOME=/tmp \
|
|
|
|
-v "${PWD}:/go/src/${package}" \
|
|
|
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
|
|
-w "/go/src/${package}" \
|
2024-01-06 09:51:50 +01:00
|
|
|
goreleaser/goreleaser:latest release --snapshot --clean --skip=publish
|
2023-07-03 00:16:08 +02:00
|
|
|
|
|
|
|
# vim: set sw=2 sts=2 et :
|