From 303ef71805baebc9e5534ba87534cefdabf49141 Mon Sep 17 00:00:00 2001 From: spiral Date: Tue, 5 Jul 2022 15:37:15 -0400 Subject: [PATCH] refactor: move dockerfiles to package folders --- .github/workflows/dashboard.yml | 2 +- .github/workflows/gateway.yml | 2 +- .github/workflows/scheduled_tasks.yml | 3 +-- Dockerfile.dashboard => dashboard/Dockerfile | 0 Dockerfile.gateway => gateway/Dockerfile | 0 Dockerfile.scheduled_tasks => scheduled_tasks/Dockerfile | 0 6 files changed, 3 insertions(+), 4 deletions(-) rename Dockerfile.dashboard => dashboard/Dockerfile (100%) rename Dockerfile.gateway => gateway/Dockerfile (100%) rename Dockerfile.scheduled_tasks => scheduled_tasks/Dockerfile (100%) diff --git a/.github/workflows/dashboard.yml b/.github/workflows/dashboard.yml index 2c5a5c8c..5c06c835 100644 --- a/.github/workflows/dashboard.yml +++ b/.github/workflows/dashboard.yml @@ -24,7 +24,7 @@ jobs: with: # https://github.com/docker/build-push-action/issues/378 context: . - file: Dockerfile.dashboard + file: dashboard/Dockerfile push: true tags: | ghcr.io/pluralkit/dashboard:${{ env.BRANCH_NAME }} diff --git a/.github/workflows/gateway.yml b/.github/workflows/gateway.yml index b3f2be21..1ca6213d 100644 --- a/.github/workflows/gateway.yml +++ b/.github/workflows/gateway.yml @@ -25,7 +25,7 @@ jobs: with: # https://github.com/docker/build-push-action/issues/378 context: . - file: Dockerfile.gateway + file: gateway/Dockerfile push: true tags: | ghcr.io/pluralkit/gateway:${{ env.BRANCH_NAME }} diff --git a/.github/workflows/scheduled_tasks.yml b/.github/workflows/scheduled_tasks.yml index ab7c0373..a5f8e867 100644 --- a/.github/workflows/scheduled_tasks.yml +++ b/.github/workflows/scheduled_tasks.yml @@ -5,7 +5,6 @@ on: branches: [main] paths: - 'scheduled_tasks/**' - - 'Dockerfile.scheduled_tasks' jobs: deploy: @@ -25,7 +24,7 @@ jobs: with: # https://github.com/docker/build-push-action/issues/378 context: . - file: Dockerfile.scheduled_tasks + file: scheduled_tasks/Dockerfile push: true tags: | ghcr.io/pluralkit/scheduled_tasks:${{ env.BRANCH_NAME }} diff --git a/Dockerfile.dashboard b/dashboard/Dockerfile similarity index 100% rename from Dockerfile.dashboard rename to dashboard/Dockerfile diff --git a/Dockerfile.gateway b/gateway/Dockerfile similarity index 100% rename from Dockerfile.gateway rename to gateway/Dockerfile diff --git a/Dockerfile.scheduled_tasks b/scheduled_tasks/Dockerfile similarity index 100% rename from Dockerfile.scheduled_tasks rename to scheduled_tasks/Dockerfile