bunch of changes
All checks were successful
Actions / Build and Push Images (push) Successful in 3m29s
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:
parent
7ff2820658
commit
a4299f635d
6 changed files with 37 additions and 11 deletions
|
@ -1,9 +1,11 @@
|
||||||
name: Docker Build
|
name: Actions
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build and Push Images:
|
Build and Push Images:
|
||||||
|
@ -18,7 +20,7 @@ jobs:
|
||||||
uses: actions/docker-login@v3
|
uses: actions/docker-login@v3
|
||||||
with:
|
with:
|
||||||
registry: www.coastalcommits.com
|
registry: www.coastalcommits.com
|
||||||
username: Seaswimmer
|
username: cswimr
|
||||||
password: ${{ secrets.COASTALCOMMITSTOKEN }}
|
password: ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||||
- name: Build and push GalacticFactory image
|
- name: Build and push GalacticFactory image
|
||||||
uses: actions/docker-build-push@v5
|
uses: actions/docker-build-push@v5
|
||||||
|
@ -33,18 +35,32 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
file: ./GalaxyCogs/Dockerfile
|
file: ./GalaxyCogs/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: www.coastalcommits.com/seaswimmer/actionscontainers-galaxycogs:latest
|
tags: www.coastalcommits.com/cswimr/actionscontainers-galaxycogs:latest
|
||||||
- name: Build and push PyZipline image
|
- name: Build and push PyZipline image
|
||||||
uses: actions/docker-build-push@v5
|
uses: actions/docker-build-push@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./PyZipline/Dockerfile
|
file: ./PyZipline/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: www.coastalcommits.com/seaswimmer/actionscontainers-pyzipline:latest
|
tags: www.coastalcommits.com/cswimr/actionscontainers-pyzipline:latest
|
||||||
- name: Build and push SeaCogs image
|
- name: Build and push SeaCogs image
|
||||||
uses: actions/docker-build-push@v5
|
uses: actions/docker-build-push@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./SeaCogs/Dockerfile
|
file: ./SeaCogs/Dockerfile
|
||||||
push: true
|
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
|
||||||
|
|
|
@ -12,6 +12,6 @@ RUN poetry config virtualenvs.create false
|
||||||
|
|
||||||
# Install dependencies
|
# 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/cswimr/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/poetry.lock -o poetry.lock
|
||||||
RUN poetry install --with dev --no-root
|
RUN poetry install --with dev --no-root
|
||||||
|
|
|
@ -46,6 +46,6 @@ RUN poetry config virtualenvs.create false
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
|
|
||||||
RUN python3.12 -m pip install -U click packaging colorama zipp distro importlib-metadata
|
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/cswimr/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/poetry.lock -o poetry.lock
|
||||||
RUN poetry install --with dev --with docs --no-root
|
RUN poetry install --with dev --with docs --no-root
|
||||||
|
|
5
Red/full/Dockerfile
Normal file
5
Red/full/Dockerfile
Normal 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
5
Red/pylav/Dockerfile
Normal 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
|
|
@ -42,6 +42,6 @@ RUN poetry config virtualenvs.in-project true
|
||||||
|
|
||||||
# Install dependencies
|
# 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/cswimr/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/poetry.lock -o poetry.lock
|
||||||
RUN poetry install --with dev --with docs --no-root
|
RUN poetry install --with dev --with docs --no-root
|
||||||
|
|
Loading…
Reference in a new issue