updated the docker build workflow
Some checks failed
Docker Build / Build (push) Failing after 5s
Linter / Lint (3.11) (push) Failing after 40s

This commit is contained in:
Seaswimmer 2023-11-25 04:25:54 -05:00
parent 984ae867d3
commit 159b758e0e
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE
2 changed files with 10 additions and 4 deletions

View file

@ -12,12 +12,17 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.COASTALCOMMITSTOKEN }}
- name: Login to CoastalCommits
uses: actions/docker-login@v3
with:
username: SeaswimmerTheFsh
password: ${{ secrets.COASTALCOMMITSTOKEN }}
- name: Build and push Docker image
uses: actions/docker-build-push@v2
uses: actions/docker-build-push@v5
with:
context: .
file: Dockerfile
push: true
registry: https://coastalcommits.com
repository: seaswimmerthefsh/discordeventlog
tags: latest
tags: https://coastalcommits.com/seaswimmerthefsh/discordeventlog:latest

View file

@ -4,6 +4,7 @@ COPY src /src
COPY config.json.example /config.json
COPY pyproject.toml /pyproject.toml
COPY poetry.lock /poetry.lock
COPY README.md /README.md
RUN apk --no-cache add curl && curl -sSL https://seafsh.cc/go/poetry | python - && \
cd /src && \