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 && \