Skip to content

Commit 8c6f58a

Browse files
committed
Update build-dev-container.yaml to include develop branch in push event
1 parent 40cd8dd commit 8c6f58a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-dev-container.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: 'Build dev container'
22

33
on:
4-
pull_request:
54
push:
65
branches:
76
- master
7+
- develop
88

99
jobs:
1010
list-dir:
@@ -44,5 +44,6 @@ jobs:
4444
uses: devcontainers/[email protected]
4545
with:
4646
subFolder: ./templates/${{ matrix.dir }}
47-
imageName: ghcr.io/pnstack/codespace/${{ matrix.dir }}
47+
imageName: ghcr.io/pnstack/codespace/${{ matrix.dir }}
48+
imageTag: ${{ github.ref == 'refs/heads/master' && 'latest' || github.ref_name }}
4849
push: always

0 commit comments

Comments
 (0)