Skip to content

Commit

Permalink
Merge pull request #41 from Marukome0743/main
Browse files Browse the repository at this point in the history
🔧chore(bun): add bun.lockb
  • Loading branch information
Marukome0743 authored Dec 31, 2023
2 parents d2f006e + 139c2a4 commit 786375b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ infrastructure:
- any-glob-to-any-file: '.eslistrc.json'
next:
- changed-files:
- any-glob-to-any-file: ['.next/**', '*.config.js', '*.config.ts', 'tsconfig.json']
- any-glob-to-any-file: ['*.config.js', '*.config.ts', 'tsconfig.json']
ci:
- changed-files:
- any-glob-to-any-file: ['.github/workflows/*.yml', '.github/dependabot.yml']
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/bun-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
paths:
- "app/**"
- "public/**"
- "bun.lockb"
- "next.config.js"
- "package.json"
- "postcss.config.js"
Expand All @@ -21,6 +22,7 @@ on:
paths:
- "app/**"
- "public/**"
- "bun.lockb"
- "next.config.js"
- "package.json"
- "postcss.config.js"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/node-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
paths:
- "app/**"
- "public/**"
- "bun.lockb"
- "next.config.js"
- "package.json"
- "postcss.config.js"
Expand All @@ -21,6 +22,7 @@ on:
paths:
- "app/**"
- "public/**"
- "bun.lockb"
- "next.config.js"
- "package.json"
- "postcss.config.js"
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
paths:
- "app/**"
- "public/**"
- "bun.lockb"
- "next.config.js"
- "package.json"
- "postcss.config.js"
Expand All @@ -22,6 +23,7 @@ on:
paths:
- "app/**"
- "public/**"
- "bun.lockb"
- "next.config.js"
- "package.json"
- "postcss.config.js"
Expand Down Expand Up @@ -56,7 +58,7 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PAT }}
- name: Login to GitHub Container Registry
if: github.repository_owner == env.REPOSITORY_OWNER
if: github.repository_owner == env.REPOSITORY_OWNER && github.event_name != 'pull_request_target'
uses: docker/login-action@v3
with:
registry: ${{ env.GHCR_REGISTRY }}
Expand All @@ -70,6 +72,7 @@ jobs:
${{ env.REPOSITORY }}
${{ env.GHCR_REGISTRY }}/${{ env.GHCR_REPOSITORY }}
- name: Build and push
if: github.event_name != 'pull_request_target'
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -81,6 +84,17 @@ jobs:
cache-to: type=inline
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=homepage multi-arch image
provenance: false
- name: Build and load
if: github.repository_owner == env.REPOSITORY_OWNER && github.event_name == 'pull_request_target'
uses: docker/build-push-action@v5
with:
context: .
load: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ env.REPOSITORY }}:main
cache-to: type=inline
provenance: false
- name: Docker Scout
if: github.repository_owner == env.REPOSITORY_OWNER && github.event_name == 'pull_request_target'
uses: docker/scout-action@v1
Expand Down

0 comments on commit 786375b

Please sign in to comment.