chore: differnt credentials for scroll reg and image reg #241
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Changed Pipeline | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
tags: | |
- v* | |
jobs: | |
build-deploy: | |
runs-on: self-hosted | |
env: | |
SCROLL_REGISTRY_ENDPOINT: ${{ secrets.SCROLL_REGISTRY_ENDPOINT }} | |
SCROLL_REGISTRY_API_KEY: ${{ secrets.SCROLL_REGISTRY_API_KEY }} | |
SCROLL_REGISTRY_API_SECRET: ${{ secrets.SCROLL_REGISTRY_API_SECRET }} | |
SCROLL_REGISTRY_BUCKET: ${{ secrets.SCROLL_REGISTRY_BUCKET_STAGING }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get registry binary | |
uses: robinraju/[email protected] | |
with: | |
repository: "highcard-dev/druid-cli" | |
latest: true | |
fileName: "druid" | |
token: ${{ secrets.GO_REPO_TOKEN }} | |
- run: chmod +x druid | |
- name: Install druid | |
run: sudo mv druid /usr/local/bin/druid | |
- name: druid version | |
run: druid version | |
- run: ./scripts/validate_all_scrolls.sh | |
- name: Login to registry | |
run: druid registry login --host ${{ secrets.SCROLL_REGISTRY_HOST }} --user '${{ secrets.SCROLL_REGISTRY_USER }}' --password ${{ secrets.SCROLL_REGISTRY_PASSWORD }} | |
- name: Pushing new scrolls | |
shell: bash | |
run: | | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.17 -p main=25565 -p rcon=25575 -i highcard/druidd-java:16 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.17.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:16 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.18 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.18.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.18.2 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.19 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.19.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.19.2 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.19.3 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.19.4 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.20.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.20.2 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.20.4 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.20.6 -p main=25565 -p rcon=25575 -i highcard/druidd-java:21 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-spigot/1.21.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:21-no-cli --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.17 -p main=25565 -p rcon=25575 -i highcard/druidd-java:16 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.17.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:16 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.18 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.18.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.18.2 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.19 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.19.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.19.2 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.19.3 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.19.4 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.20.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.20.2 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.20.4 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.20.6 -p main=25565 -p rcon=25575 -i highcard/druidd-java:21 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/minecraft-vanilla/1.21.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:21-no-cli --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.17 -p main=25565 -p rcon=25575 -i highcard/druidd-java:16 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.17.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:16 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.18.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.18.2 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.19 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.19.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.19.2 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.19.3 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.19.4 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.20.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.20.2 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.20.4 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.20.6 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/papermc/1.21.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.17.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:16 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.18 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.18.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.18.2 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.19 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.19.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.19.2 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.19.3 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.19.4 -p main=25565 -p rcon=25575 -i highcard/druidd-java:17 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.20 -p main=25565 -p rcon=25575 -i highcard/druidd-java:20 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.20.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:20 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.20.2 -p main=25565 -p rcon=25575 -i highcard/druidd-java:20 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.20.3 -p main=25565 -p rcon=25575 -i highcard/druidd-java:20 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.20.4 -p main=25565 -p rcon=25575 -i highcard/druidd-java:20 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.20.6 -p main=25565 -p rcon=25575 -i highcard/druidd-java:20 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/forge/1.21.1 -p main=25565 -p rcon=25575 -i highcard/druidd-java:20 --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/minecraft/cuberite/latest -p main=25565 -p webpanel=8080 -i highcard/druidd-ubuntu --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/rust/rust-oxide/latest -p main=28015/udp -p rcon -p rustplus -i highcard/druidd-steamcmd --min-disk 10Gi --min-ram 6Gi --min-cpu 1 | |
druid registry push ./scrolls/rust/rust-vanilla/latest -p main=28015/udp -p rcon -p rustplus -i highcard/druidd-steamcmd --min-disk 10Gi --min-ram 6Gi --min-cpu 1 | |
druid registry push ./scrolls/lgsm/pwserver -p main=8211/udp -p rcon=25575 -i highcard/druidd-lgsm:pw -m --min-disk 7Gi --min-ram 2Gi --min-cpu 0.5 | |
druid registry push ./scrolls/lgsm/arkserver -p main=/udp -p query=/udp -p rcon -i highcard/druidd-lgsm:ark -m --min-disk 25Gi --min-ram 5Gi --min-cpu 0.5 | |
druid registry push ./scrolls/lgsm/untserver -p main=27015/udp -p mainv6=27016 -i highcard/druidd-lgsm:unt -m --min-disk 7Gi --min-ram 1Gi --min-cpu 0.5 | |
druid registry push ./scrolls/lgsm/dayzserver -p main=2302/udp -p battle-eye=2304/udp -p query=27016/udp -i highcard/druidd-lgsm:dayz -m --min-disk 7Gi --min-ram 5Gi --min-cpu 1 | |
druid registry push ./scrolls/lgsm/sdtdserver -p main=26900/udp -p main2=26902/udp -p maintcp=26900 -i highcard/druidd-lgsm:sdtd -m --min-disk 20Gi --min-ram 2Gi --min-cpu 0.5 | |
druid registry push ./scrolls/lgsm/gmodserver -p query=27005/udp -p main=/udp -p sourcetv=27020/udp -p steam=27015 -i highcard/druidd-lgsm:gmod -m --min-disk 8Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/lgsm/cs2server -p main=27015/udp -p rcon=27015 -i highcard/druidd-lgsm:cs2 -m --min-disk 38Gi --min-ram 1Gi --min-cpu 0.5 | |
druid registry push ./scrolls/lgsm/pzserver -p main=16261/udp -p main2=16262/udp -i highcard/druidd-lgsm:pz -m --min-disk 3Gi --min-ram 512Mi --min-cpu 0.25 | |
druid registry push ./scrolls/lgsm/terrariaserver -p todo=8211/udp -i highcard/druidd-lgsm:terraria -m | |
druid registry push ./scrolls/lgsm/csgoserver -p query=27005/udp -p main=27015/udp -p sourcetv=27020/udp -p steam=27015 -i highcard/druidd-lgsm:csgo -m | |
- name: Push Meta | |
run: | | |
druid registry push meta artifacts.druid.gg/druid-team/scroll-minecraft-spigot ./scrolls/minecraft/minecraft-spigot/.meta | |
druid registry push meta artifacts.druid.gg/druid-team/scroll-minecraft-vanilla ./scrolls/minecraft/minecraft-vanilla/.meta | |
druid registry push meta artifacts.druid.gg/druid-team/scroll-minecraft-paper ./scrolls/minecraft/papermc/.meta | |
druid registry push meta artifacts.druid.gg/druid-team/scroll-minecraft-forge ./scrolls/minecraft/forge/.meta | |
druid registry push meta artifacts.druid.gg/druid-team/scroll-minecraft-cuberite ./scrolls/minecraft/cuberite/.meta | |
druid registry push meta artifacts.druid.gg/druid-team/scroll-rust-oxide ./scrolls/rust/rust-oxide/.meta | |
druid registry push meta artifacts.druid.gg/druid-team/scroll-rust-vanilla ./scrolls/rust/rust-vanilla/.meta |