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:
|
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
|
|
||||||
|
|
|
@ -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 && \
|
||||||
|
|
Loading…
Reference in a new issue