Skip to content

update action trigger #2

update action trigger

update action trigger #2

name: Dev Container Build and Push Image
on:
pull_request:
branches: [v2-main]
push:
branches: [v2-main]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
-
name: Checkout
id: checkout
- uses: actions/checkout@v4
-
name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: nvcr.io
username: $oauthtoken
password: ${{ secrets.NGC_KEY }}
-
name: Pre-build dev container image
uses: devcontainers/[email protected]
with:
subFolder: .github
imageName: nvcr.io/nvidian/cvai_bnmo_trng/bionemo-devcontainer
cacheFrom: nvcr.io/nvidian/cvai_bnmo_trng/bionemo-devcontainer
push: filter
eventFilterForPush: push