Skip to content

Commit

Permalink
Push image on push event except dependabot (#387)
Browse files Browse the repository at this point in the history
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
  • Loading branch information
maia-iyer committed Apr 1, 2024
1 parent 1e4c666 commit 7e3307a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/master-build.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Tornjak Artifact push
on:
pull_request: {}
push:
branches-ignore:
- 'dependabot/**'
workflow_dispatch: {}
jobs:
alpine-build:
Expand All @@ -27,7 +29,7 @@ jobs:

- name: Get branch name
id: branch_name
run: echo "##[set-output name=branch;]$(echo ${GITHUB_BASE_REF})"
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"

- name: Run build
uses: ./.github/actions/build
Expand Down

0 comments on commit 7e3307a

Please sign in to comment.