Skip to content

Commit

Permalink
chore(devContainers): prevent Docker rebuild on changes
Browse files Browse the repository at this point in the history
This commit prevents the docker container to be rebuild when we change
the [Development Container
config](https://code.visualstudio.com/docs/devcontainers/containers).
  • Loading branch information
rickstaa committed Mar 14, 2024
1 parent 7f7856f commit 960e63d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ai-runner-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ on:
pull_request:
paths:
- "runner/**"
paths-ignore:
- "runner/.devcontainer/**"
push:
branches:
- main
paths:
- "runner/**"
paths-ignore:
- "runner/.devcontainer/**"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -70,4 +74,4 @@ jobs:
file: "Dockerfile"
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=livepeerci/build:cache
cache-to: type=registry,ref=livepeerci/build:cache,mode=max
cache-to: type=registry,ref=livepeerci/build:cache,mode=max

0 comments on commit 960e63d

Please sign in to comment.