Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ./ in front of context
Browse files Browse the repository at this point in the history
meffmadd committed Jul 8, 2024
1 parent 0685556 commit d40cd6e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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' }}

0 comments on commit d40cd6e

Please sign in to comment.