Skip to content

Commit

Permalink
add one more docker trigger file
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Aug 30, 2023
1 parent 9f59969 commit 2ab89d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
on:
pull_request:
paths: [dockerfiles/*, .github/workflows/main.yml]
paths: [dockerfiles/*, .github/workflows/main.yml, bin/docker-build]
push:
branches: [main]
paths: [dockerfiles/*, .github/workflows/main.yml]
paths: [dockerfiles/*, .github/workflows/main.yml, bin/docker-build]

jobs:
main:
Expand Down
1 change: 1 addition & 0 deletions bin/docker-build
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def main() -> int:
with open(os.path.join('dockerfiles', filename), 'rb') as f:
cmd = (
'docker', 'buildx', 'build',
'--load',
'--pull',
'--cache-from', tag_cache,
'--tag', tag,
Expand Down

0 comments on commit 2ab89d3

Please sign in to comment.