Skip to content

Commit

Permalink
chore: use specific dockerignore file with optimized image build trig…
Browse files Browse the repository at this point in the history
…ger (#347)
  • Loading branch information
huxuan authored Mar 1, 2024
1 parent 55eeefa commit 6757547
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ on:
- main
paths:
- .devcontainer/Dockerfile
- .devcontainer/Dockerfile.dockerignore
- .github/workflows/devcontainer.yml
workflow_dispatch: null
2 changes: 2 additions & 0 deletions .gitlab/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ dev-container-publish:
rules:
- changes:
- .devcontainer/Dockerfile
- .devcontainer/Dockerfile.dockerignore
- .gitlab/workflows/devcontainer.yml
if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "web"
script:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,6 @@ on:
- main
paths:
- .devcontainer/Dockerfile
- .devcontainer/Dockerfile.dockerignore
- .github/workflows/devcontainer.yml
workflow_dispatch: null
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ dev-container-publish:
rules:
- changes:
- .devcontainer/Dockerfile
- .devcontainer/Dockerfile.dockerignore
- .gitlab/workflows/devcontainer.yml
if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "web"
script:
Expand Down

0 comments on commit 6757547

Please sign in to comment.