Skip to content

Commit

Permalink
Build only on all branches
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoboos committed May 27, 2024
1 parent d37a9f2 commit ea0b0a7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Build

on:
push:
branches:
- develop
workflow_dispatch:

env:
Expand Down Expand Up @@ -36,5 +34,5 @@ jobs:
uses: docker/build-push-action@v5
with:
context: ./apps/${{ matrix.app }}
push: true
push: ${{ github.ref_name == github.event.repository.default_branch }}
tags: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPOSITORY }}/${{ matrix.app }}:latest

0 comments on commit ea0b0a7

Please sign in to comment.