Skip to content

Commit

Permalink
fix migration packages pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Aug 25, 2024
1 parent 578ab0b commit c307de4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:
branches: ["*"]
paths:
- packages/db/**
- .github/workflows/apps-migrations.yaml
- .github/workflows/packages-migrations.yaml
- pnpm-lock.yaml
push:
branches: ["main"]
paths:
- packages/db/**
- .github/workflows/apps-migrations.yaml
- .github/workflows/packages-migrations.yaml
- pnpm-lock.yamlaa

jobs:
Expand Down Expand Up @@ -48,13 +48,13 @@ jobs:
if: github.ref != 'refs/heads/main'
with:
push: false
file: package/db/Dockerfile
file: packages/db/Dockerfile
tags: ${{ steps.meta.outputs.tags }}

- name: Build and Push
uses: docker/build-push-action@v6
if: github.ref == 'refs/heads/main'
with:
push: true
file: package/db/Dockerfile
file: packages/db/Dockerfile
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit c307de4

Please sign in to comment.