Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: docker build #888

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/on-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ jobs:
name: Build
uses: ./.github/workflows/wf-docker-build.yaml
with:
push-ghcr: true
save-cache: true
push-ghcr: false
save-cache: false
4 changes: 2 additions & 2 deletions .github/workflows/on-push-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
name: Build
uses: ./.github/workflows/wf-docker-build.yaml
with:
push-ghcr: false
save-cache: false
push-ghcr: true
save-cache: true
2 changes: 1 addition & 1 deletion .github/workflows/wf-docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Build and Push Artifacts
uses: docker/bake-action@v5
with:
push: true
push: ${{ inputs.push-ghcr }}
# Metadata Action のタグ出力を加工したいのでここではラベルのみを渡す
# タグの情報は環境変数 DOCKER_METADATA_OUTPUT_TAGS を使って受け取る
files: |
Expand Down
Loading