diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 53ae113..149e4ae 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -1,9 +1,11 @@ -name: Docker Build +name: Actions on: push: branches: - main workflow_dispatch: + schedule: + - cron: '0 0 * * *' jobs: Build and Push Images: @@ -18,7 +20,7 @@ jobs: uses: actions/docker-login@v3 with: registry: www.coastalcommits.com - username: Seaswimmer + username: cswimr password: ${{ secrets.COASTALCOMMITSTOKEN }} - name: Build and push GalacticFactory image uses: actions/docker-build-push@v5 @@ -33,18 +35,32 @@ jobs: context: . file: ./GalaxyCogs/Dockerfile push: true - tags: www.coastalcommits.com/seaswimmer/actionscontainers-galaxycogs:latest + tags: www.coastalcommits.com/cswimr/actionscontainers-galaxycogs:latest - name: Build and push PyZipline image uses: actions/docker-build-push@v5 with: context: . file: ./PyZipline/Dockerfile push: true - tags: www.coastalcommits.com/seaswimmer/actionscontainers-pyzipline:latest + tags: www.coastalcommits.com/cswimr/actionscontainers-pyzipline:latest - name: Build and push SeaCogs image uses: actions/docker-build-push@v5 with: context: . file: ./SeaCogs/Dockerfile push: true - tags: www.coastalcommits.com/seaswimmer/actionscontainers-seacogs:latest + tags: www.coastalcommits.com/cswimr/actionscontainers-seacogs:latest + - name: Build and push Red full image + uses: actions/docker-build-push@v5 + with: + context: . + file: ./Red/full/Dockerfile + push: true + tags: www.coastalcommits.com/cswimr/red:full + - name: Build and push Red pylav image + uses: actions/docker-build-push@v5 + with: + context: . + file: ./Red/pylav/Dockerfile + push: true + tags: www.coastalcommits.com/cswimr/red:pylav diff --git a/GalaxyCogs/Dockerfile b/GalaxyCogs/Dockerfile index e043293..58dd17b 100644 --- a/GalaxyCogs/Dockerfile +++ b/GalaxyCogs/Dockerfile @@ -12,6 +12,6 @@ RUN poetry config virtualenvs.create false # Install dependencies -RUN curl -sSL https://www.coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs/raw/branch/main/pyproject.toml -o pyproject.toml -RUN curl -sSL https://www.coastalcommits.com/SeaswimmerTheFsh/GalaxyCogs/raw/branch/main/poetry.lock -o poetry.lock +RUN curl -sSL https://www.coastalcommits.com/cswimr/GalaxyCogs/raw/branch/main/pyproject.toml -o pyproject.toml +RUN curl -sSL https://www.coastalcommits.com/cswimr/GalaxyCogs/raw/branch/main/poetry.lock -o poetry.lock RUN poetry install --with dev --no-root diff --git a/PyZipline/Dockerfile b/PyZipline/Dockerfile index ba7376c..4683ab1 100644 --- a/PyZipline/Dockerfile +++ b/PyZipline/Dockerfile @@ -46,6 +46,6 @@ RUN poetry config virtualenvs.create false # Install dependencies RUN python3.12 -m pip install -U click packaging colorama zipp distro importlib-metadata -RUN curl -sSL https://www.coastalcommits.com/SeaswimmerTheFsh/PyZipline/raw/branch/main/pyproject.toml -o pyproject.toml -RUN curl -sSL https://www.coastalcommits.com/SeaswimmerTheFsh/PyZipline/raw/branch/main/poetry.lock -o poetry.lock +RUN curl -sSL https://www.coastalcommits.com/cswimr/PyZipline/raw/branch/main/pyproject.toml -o pyproject.toml +RUN curl -sSL https://www.coastalcommits.com/cswimr/PyZipline/raw/branch/main/poetry.lock -o poetry.lock RUN poetry install --with dev --with docs --no-root diff --git a/Red/full/Dockerfile b/Red/full/Dockerfile new file mode 100644 index 0000000..e933a13 --- /dev/null +++ b/Red/full/Dockerfile @@ -0,0 +1,5 @@ +FROM phasecorex/red-discordbot:full + +RUN apt-get update && apt-get install -y --no-install-recommends curl dnsutils +RUN curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash +RUN apt-get install -y --no-install-recommends speedtest diff --git a/Red/pylav/Dockerfile b/Red/pylav/Dockerfile new file mode 100644 index 0000000..9265f91 --- /dev/null +++ b/Red/pylav/Dockerfile @@ -0,0 +1,5 @@ +FROM phasecorex/red-discordbot:extra-pylav + +RUN apt-get update && apt-get install -y --no-install-recommends curl dnsutils +RUN curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash +RUN apt-get install -y --no-install-recommends speedtest diff --git a/SeaCogs/Dockerfile b/SeaCogs/Dockerfile index 69839b1..5cc59d6 100644 --- a/SeaCogs/Dockerfile +++ b/SeaCogs/Dockerfile @@ -42,6 +42,6 @@ RUN poetry config virtualenvs.in-project true # Install dependencies -RUN curl -sSL https://www.coastalcommits.com/SeaswimmerTheFsh/SeaCogs/raw/branch/main/pyproject.toml -o pyproject.toml -RUN curl -sSL https://www.coastalcommits.com/SeaswimmerTheFsh/SeaCogs/raw/branch/main/poetry.lock -o poetry.lock +RUN curl -sSL https://www.coastalcommits.com/cswimr/SeaCogs/raw/branch/main/pyproject.toml -o pyproject.toml +RUN curl -sSL https://www.coastalcommits.com/cswimr/SeaCogs/raw/branch/main/poetry.lock -o poetry.lock RUN poetry install --with dev --with docs --no-root