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: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 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 - name: Build and push Docker image
uses: actions/docker-build-push@v2 uses: actions/docker-build-push@v5
with: with:
context: . context: .
file: Dockerfile file: Dockerfile
push: true push: true
registry: https://coastalcommits.com tags: https://coastalcommits.com/seaswimmerthefsh/discordeventlog:latest
repository: seaswimmerthefsh/discordeventlog
tags: latest

View file

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