Skip to content

Commit

Permalink
Merge pull request #6 from niklasstoffers/build-pipeline-all-branches
Browse files Browse the repository at this point in the history
Build pipeline all branches
  • Loading branch information
mergify[bot] authored Dec 12, 2023
2 parents 9697b2c + d46f878 commit 096e1fd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: BUILD

on:
push:
branches: [ "main", "dev" ]
branches: [ "**" ]
pull_request:
branches: [ "main", "dev" ]
branches: [ "**" ]

jobs:
build:
Expand All @@ -22,11 +22,13 @@ jobs:
uses: docker/metadata-action@v5
with:
images: niklasstoffers/gitlab-auto-approve
tags: |
type=sha
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ github.sha }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 096e1fd

Please sign in to comment.