fix: scheduled tasks runner docker build

This commit is contained in:
spiral 2022-07-14 19:00:01 +02:00
parent 1825a00248
commit f864498392
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E
2 changed files with 2 additions and 3 deletions

View File

@ -23,8 +23,7 @@ jobs:
- uses: docker/build-push-action@v2 - uses: docker/build-push-action@v2
with: with:
# https://github.com/docker/build-push-action/issues/378 # https://github.com/docker/build-push-action/issues/378
context: . context: services/scheduled_tasks/
file: services/scheduled_tasks/Dockerfile
push: true push: true
tags: | tags: |
ghcr.io/pluralkit/scheduled_tasks:${{ env.BRANCH_NAME }} ghcr.io/pluralkit/scheduled_tasks:${{ env.BRANCH_NAME }}

View File

@ -4,7 +4,7 @@ RUN apk add go
WORKDIR /build WORKDIR /build
COPY services/scheduled_tasks/ /build COPY ./ /build
RUN go build . RUN go build .