refactor: move dockerfiles to package folders

This commit is contained in:
spiral 2022-07-05 15:37:15 -04:00
parent cc0edd3ed8
commit 303ef71805
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E
6 changed files with 3 additions and 4 deletions

View File

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

View File

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

View File

@ -5,7 +5,6 @@ on:
branches: [main] branches: [main]
paths: paths:
- 'scheduled_tasks/**' - 'scheduled_tasks/**'
- 'Dockerfile.scheduled_tasks'
jobs: jobs:
deploy: deploy:
@ -25,7 +24,7 @@ jobs:
with: with:
# https://github.com/docker/build-push-action/issues/378 # https://github.com/docker/build-push-action/issues/378
context: . context: .
file: Dockerfile.scheduled_tasks file: 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 }}