From 159b758e0e770fe4af9ad40930135532918ad283 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 25 Nov 2023 04:25:54 -0500 Subject: [PATCH] updated the docker build workflow --- .forgejo/workflows/docker-build.yml | 13 +++++++++---- Dockerfile | 1 + 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/docker-build.yml b/.forgejo/workflows/docker-build.yml index c1a5a05..0fbbf4c 100644 --- a/.forgejo/workflows/docker-build.yml +++ b/.forgejo/workflows/docker-build.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index 9f7efed..f62f1e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \