updated the docker build workflow
This commit is contained in:
parent
984ae867d3
commit
159b758e0e
2 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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 && \
|
||||
|
|
Loading…
Reference in a new issue