Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 3d6ae64

Browse files
committed
bruh
1 parent 3439be3 commit 3d6ae64

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
1616
jobs:
1717
build-and-push-image:
18-
runs-on: ubuntu-latest
18+
runs-on: self-hosted
1919
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
2020
permissions:
2121
contents: read
@@ -60,13 +60,5 @@ jobs:
6060
run: |
6161
docker cp $(docker ps -alq):/src/logs .
6262
mv logs/ ~/console-logs/interchat-logs-$(date +"%Y-%m-%d_%H-%M-%S")
63-
- name: Remove old containers and images
64-
run: |
65-
docker stop $(docker ps -a -q)
66-
docker rm $(docker ps -a -q)
67-
docker rmi ghcr.io/discord-interchat/interchat
68-
docker rmi $(docker images -q)
69-
- name: Pull latest image
70-
run: docker pull ghcr.io/discord-interchat/interchat:latest
7163
- name: Run image
7264
run: docker run -d --env-file ~/important/interchat-env ghcr.io/discord-interchat/interchat

0 commit comments

Comments
 (0)