Archived
generated from imcompiling/discord-bot-template
Compare commits
13
Commits
try-moving-files
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb5889f7ae | ||
|
|
3c489c83e2 | ||
|
|
aeb00a107f | ||
|
|
c65acb094a | ||
|
|
631c42ac0b | ||
|
|
7811abc33e | ||
|
|
2a01cf09ec | ||
|
|
6d9325c354 | ||
|
|
865802eeeb | ||
|
|
8fce10d9be | ||
|
|
5c6fa4386e | ||
|
|
590cb9abe4 | ||
|
|
46f518c1c4 |
@@ -13,7 +13,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Docker
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Docker
|
||||
|
||||
@@ -23,8 +23,6 @@ jobs:
|
||||
- name: Set env
|
||||
run: echo "GIT_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||
- name: Build Docker Images
|
||||
run: docker build -t gitea.cheezers.org/imcompiling/off-cooldown-bot:latest -t gitea.cheezers.org/imcompiling/off-cooldown-bot:${{env.GIT_TAG}} .
|
||||
- name: Push Latest Image
|
||||
run: docker push gitea.cheezers.org/imcompiling/off-cooldown-bot:latest
|
||||
run: docker build -t gitea.cheezers.org/imcompiling/off-cooldown-bot:${{env.GIT_TAG}} .
|
||||
- name: Push Tagged Image
|
||||
run: docker push gitea.cheezers.org/imcompiling/off-cooldown-bot:${{env.GIT_TAG}}
|
||||
+1
-1
@@ -129,4 +129,4 @@ dmypy.json
|
||||
nextcord.log
|
||||
outputs/
|
||||
|
||||
database
|
||||
/database
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
FROM python:3.12.3-slim
|
||||
FROM python:3.13.3-slim
|
||||
|
||||
# install uv
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.6.5 /uv /uvx /bin/
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.6.17 /uv /uvx /bin/
|
||||
|
||||
COPY . /home
|
||||
|
||||
@@ -9,4 +9,4 @@ COPY . /home
|
||||
WORKDIR /home
|
||||
RUN uv sync --frozen --no-dev
|
||||
|
||||
CMD ["uv", "run", "python", "-m", "off_cooldown_bot"]
|
||||
CMD ["uv", "run", "--frozen", "--no-dev", "-m", "off_cooldown_bot"]
|
||||
|
||||
Reference in New Issue
Block a user