Skip to content

Commit

Permalink
Build containers in CI
Browse files Browse the repository at this point in the history
It will be run by pull requests. It pushes no image to the container registry.

Signed-off-by: Masaki Muranaka <[email protected]>
  • Loading branch information
monaka committed Nov 8, 2023
1 parent 9e33e77 commit a320aa8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Docker container image

on:
pull_request:
branches:
- 'main'
push:
branches-ignore:
- '**'
Expand Down Expand Up @@ -41,7 +44,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
push: true
push: ${{ github.event_name == 'push' }}
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit a320aa8

Please sign in to comment.