Skip to content

Commit

Permalink
[las-793] added branch build to ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarggraf committed Feb 19, 2024
1 parent f4c413e commit c682c39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:
# lead to image pushed on unwanted branches,
# see the branch-based event usages below!
push:
branches: [ main ]
branches:
- '*'
pull_request:
branches: [ main ]
release:
Expand Down Expand Up @@ -42,6 +43,8 @@ jobs:
echo "TAG=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
elif [[ "${{ github.event_name }}" == "pull_request" ]]; then
echo "TAG=pr${{github.event.number}}" >> $GITHUB_ENV
else
echo "TAG=g-${GITHUB_SHA::7}" >> $GITHUB_ENV
fi
- name: Login to GitHub Container Registry
Expand Down

0 comments on commit c682c39

Please sign in to comment.