diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c5ed6b..03e919f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-latest needs: - changed-dirs - # if: startsWith(needs.init.outputs.changeDirs, 'operator') || startsWith(needs.init.outputs.changeDirs, 'server') + if: startsWith(needs.init.outputs.changeDirs, 'operator') || startsWith(needs.init.outputs.changeDirs, 'server') strategy: matrix: include: @@ -71,11 +71,13 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - run: ls + - name: Build and push uses: docker/build-push-action@v6 - # if: startsWith(needs.init.outputs.changeDirs, matrix.directory) + if: startsWith(needs.init.outputs.changeDirs, matrix.directory) with: - context: ${{ matrix.directory }} + context: ./${{ matrix.directory }} file: Dockerfile platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }}