diff --git a/.github/workflows/scheduled_tasks.yml b/.github/workflows/scheduled_tasks.yml index 6d3d384e..fb863ecd 100644 --- a/.github/workflows/scheduled_tasks.yml +++ b/.github/workflows/scheduled_tasks.yml @@ -23,8 +23,7 @@ jobs: - uses: docker/build-push-action@v2 with: # https://github.com/docker/build-push-action/issues/378 - context: . - file: services/scheduled_tasks/Dockerfile + context: services/scheduled_tasks/ push: true tags: | ghcr.io/pluralkit/scheduled_tasks:${{ env.BRANCH_NAME }} diff --git a/services/scheduled_tasks/Dockerfile b/services/scheduled_tasks/Dockerfile index 2a3c5481..9e23b7af 100644 --- a/services/scheduled_tasks/Dockerfile +++ b/services/scheduled_tasks/Dockerfile @@ -4,7 +4,7 @@ RUN apk add go WORKDIR /build -COPY services/scheduled_tasks/ /build +COPY ./ /build RUN go build .