diff --git a/.github/workflows/deploy.ghcr.yml b/.github/workflows/deploy.ghcr.yml index 34403d1..d5f8051 100644 --- a/.github/workflows/deploy.ghcr.yml +++ b/.github/workflows/deploy.ghcr.yml @@ -5,6 +5,10 @@ on: tags: - 'ghcr-*' +defaults: + run: + working-directory: ./web + jobs: push_to_registries: name: Push Docker image to multiple registries @@ -31,7 +35,6 @@ jobs: - name: Build and push Docker images uses: docker/build-push-action@v5 - working-directory: ./web with: context: . push: true diff --git a/.github/workflows/deploy.private.yml b/.github/workflows/deploy.private.yml index 164ad84..cc7a85e 100644 --- a/.github/workflows/deploy.private.yml +++ b/.github/workflows/deploy.private.yml @@ -5,6 +5,10 @@ on: tags: - 'private-*' +defaults: + run: + working-directory: ./web + jobs: deployment: runs-on: ubuntu-22.04 @@ -38,7 +42,6 @@ jobs: - name: Build and push to local registry uses: docker/build-push-action@v5 - working-directory: ./web with: context: . file: ./Dockerfile