chore: add deployment scripts for infoalloggi and marcopedone environments

This commit is contained in:
Marco Pedone 2026-01-14 15:24:02 +01:00
parent e3482e4b7c
commit f65e822515
4 changed files with 40 additions and 18 deletions

13
build_infoalloggi.sh Normal file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
# Preset for staging environment
export TAG="latest"
export IMAGE_REGISTRY="ghcr.io"
export OWNER="marcopedone"
export USERNAME="marcopedone"
export TOKEN="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"
export ENV_FILE=".env.infoalloggi"
export PREFIX="infoalloggi"
./build_and_push_ghcr.sh

13
build_marcopedone.sh Normal file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
# Preset for staging environment
export TAG="latest"
export IMAGE_REGISTRY="ghcr.io"
export OWNER="marcopedone"
export USERNAME="marcopedone"
export TOKEN="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"
export ENV_FILE=".env.marcopedone"
export PREFIX="marcopedone"
./build_and_push_ghcr.sh

View file

@ -1,13 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail set -euo pipefail
# Preset for staging environment curl -X 'POST' \
export TAG="latest" 'https://dock.infoalloggi.it/api/compose.deploy' \
export IMAGE_REGISTRY="ghcr.io" -H 'accept: application/json' \
export OWNER="marcopedone" -H 'Content-Type: application/json' \
export USERNAME="marcopedone" -H 'x-api-key: iIKlaMNilGkzCIgGNmQbzxUfvrwAwFEXcDBVxzVbSLPghbqLiagXcvwJRfLZxxao' \
export TOKEN="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" -d '{"composeId": "7apez8FViLShEjsFxlRNY"}'
export ENV_FILE=".env.infoalloggi"
export PREFIX="infoalloggi"
./build_and_push_ghcr.sh echo "Deployment triggered for infoalloggi.it"

View file

@ -1,13 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail set -euo pipefail
# Preset for staging environment curl -X 'POST' \
export TAG="latest" 'https://dock.marcopedone.it/api/compose.deploy' \
export IMAGE_REGISTRY="ghcr.io" -H 'accept: application/json' \
export OWNER="marcopedone" -H 'Content-Type: application/json' \
export USERNAME="marcopedone" -H 'x-api-key: gbiVIPaEQtkPywiAOIxiBtLrjKVuIqcnXXNMTzMXZoyTgJtgyLpHrlfBEqIcyEUM' \
export TOKEN="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" -d '{"composeId": "1Q1nPft6iaEDENfpYxq99"}'
export ENV_FILE=".env.marcopedone"
export PREFIX="marcopedone"
./build_and_push_ghcr.sh echo "Deployment triggered for marcopedone.it"