Skip to content

Commit 6bd09ef

Browse files
authored
Tie snapshot creation conditions to image push
Removed condition to check for '[build noble]' in commit message for snapshot creation.
1 parent 7df7845 commit 6bd09ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-and-push-noble.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
name: ${{ env.SNAPSHOT_NAME }}
9292
files: snapshot-${{ env.SNAPSHOT_NAME }}.tar.gz
9393
body_path: release-notes.txt
94-
if: github.event_name == 'schedule' || startsWith(github.ref, 'refs/tags/v') || contains(env.COMMIT_MESSAGE, '[build noble]')
94+
if: github.event_name == 'schedule' || startsWith(github.ref, 'refs/tags/v')
9595

9696
- name: Commit snapshot to snapshots branch
9797
run: |
@@ -108,4 +108,4 @@ jobs:
108108
git add ${{ env.SNAPSHOT_NAME }}
109109
git commit -m "snapshot ${{ env.SNAPSHOT_NAME }}"
110110
git push origin snapshots
111-
if: github.event_name == 'schedule' || startsWith(github.ref, 'refs/tags/v') || contains(env.COMMIT_MESSAGE, '[build noble]')
111+
if: github.event_name == 'schedule' || startsWith(github.ref, 'refs/tags/v')

0 commit comments

Comments
 (0)