Skip to content

Commit

Permalink
github actions - run latest container build if PR is merged
Browse files Browse the repository at this point in the history
  • Loading branch information
csautter committed Feb 12, 2024
1 parent e189011 commit ffb7632
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: docker-build

on:
pull_request:
push:
branches:
- master

jobs:
docker:
Expand All @@ -29,6 +32,7 @@ jobs:
-
name: Build and push PR
uses: docker/build-push-action@v5
if: github.ref != 'refs/heads/master'
with:
file: ./component/vzlogger/Dockerfile
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7
Expand Down

0 comments on commit ffb7632

Please sign in to comment.