Skip to content

Commit f7a5e5c

Browse files
committed
docker build/push for pushes to release/* branches
1 parent bb9c102 commit f7a5e5c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
push:
1010
branches:
1111
- main
12+
- release/*
1213

1314
permissions:
1415
id-token: write
@@ -81,7 +82,7 @@ jobs:
8182
path: /tmp/image.tar
8283

8384
docker-push:
84-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
85+
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }}
8586
needs: docker-build
8687
runs-on: ubuntu-latest
8788

0 commit comments

Comments
 (0)