Initial commit
All checks were successful
ci/woodpecker/manual/build Pipeline was successful

This commit is contained in:
pips 2025-07-30 21:29:53 +02:00
commit dae896d659
4 changed files with 276 additions and 0 deletions

22
entrypoint.sh Normal file
View file

@ -0,0 +1,22 @@
#!/usr/bin/env sh
if [ -z "$PLUGIN_GOPRIVATE" ]; then
echo "PLUGIN_GOPRIVATE empty"
exit 1
fi
if [ -z "$PLUGIN_LOGIN" ]; then
echo "PLUGIN_LOGIN empty"
exit 1
fi
if [ -z "$PLUGIN_PASSWORD" ]; then
echo "PLUGIN_PASSWORD empty"
exit 1
fi
export GOPRIVATE="$PLUGIN_GOPRIVATE"
echo "machine $PLUGIN_GOPRIVATE login $PLUGIN_LOGIN password $PLUGIN_PASSWORD" > ~/.netrc
go mod vendor