From f8644983923ad9d824f28ad3f13abc9c0b66c8fc Mon Sep 17 00:00:00 2001 From: spiral Date: Thu, 14 Jul 2022 19:00:01 +0200 Subject: [PATCH] fix: scheduled tasks runner docker build --- .github/workflows/scheduled_tasks.yml | 3 +-- services/scheduled_tasks/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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 .