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

[ci/workflows] run docker build on PRs #121

Merged
merged 1 commit into from
Jun 25, 2024
Merged
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: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- '*'
pull_request:

jobs:
docker:
Expand Down Expand Up @@ -44,7 +45,8 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
# Only push if there was a tag pushed
push: ${{ github.event_name != 'pull_request' }}
cache-from: type=local,src=/tmp/.buildx/cache
cache-to: type=local,dest=/tmp/.buildx/cache,mode=max
tags: |
Expand Down
Loading