Compare commits
3 Commits
56b625b5b8
...
v3.0
| Author | SHA1 | Date | |
|---|---|---|---|
| b6fbed1c49 | |||
| e430b99e35 | |||
| 626611f5a8 |
@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- ".gitea/workflows/*"
|
||||
- "Dockerfile"
|
||||
- "*.py"
|
||||
- "requirements.txt"
|
||||
@ -17,10 +18,10 @@ jobs:
|
||||
- name: Login to container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitea.local.chriphost.de
|
||||
registry: gitea.vps.chriphost.de
|
||||
username: ${{ secrets.CONTAINER_REGISTRY_USER }}
|
||||
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
|
||||
- name: Build Docker image
|
||||
run: docker build . --file Dockerfile --tag gitea.local.chriphost.de/christoph/discord-heidi:latest
|
||||
run: docker build . --file Dockerfile --tag gitea.vps.chriphost.de/christoph/discord-heidi:latest
|
||||
- name: Push Docker image
|
||||
run: docker push gitea.local.chriphost.de/christoph/discord-heidi:latest
|
||||
run: docker push gitea.vps.chriphost.de/christoph/discord-heidi:latest
|
||||
|
||||
@ -7,4 +7,4 @@ WORKDIR /app
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN pip3 install -r requirements.txt
|
||||
COPY . .
|
||||
CMD ["python3", "bot.py"]
|
||||
CMD ["python3", "-u", "bot.py"]
|
||||
|
||||
Reference in New Issue
Block a user