bunch of changes
All checks were successful
Actions / Build and Push Images (push) Successful in 3m29s

- updated all mentions of seaswimmer or seaswimmtherfsh to my new username, cswimr
- added a cron schedule to the build.yaml workflow
- add dockerfiles for Red-DiscordBot
This commit is contained in:
Seaswimmer 2024-08-27 13:54:14 -04:00
parent 7ff2820658
commit a4299f635d
Signed by: cswimr
GPG key ID: 3813315477F26F82
6 changed files with 37 additions and 11 deletions

View file

@ -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

View file

@ -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

View file

@ -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

5
Red/full/Dockerfile Normal file
View file

@ -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

5
Red/pylav/Dockerfile Normal file
View file

@ -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

View file

@ -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