Skip to content

Commit

Permalink
Update build-dev-container.yaml to include develop branch in push event
Browse files Browse the repository at this point in the history
  • Loading branch information
npv2k1 committed Feb 3, 2024
1 parent 40cd8dd commit 8c6f58a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-dev-container.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: 'Build dev container'

on:
pull_request:
push:
branches:
- master
- develop

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

0 comments on commit 8c6f58a

Please sign in to comment.