Skip to content

Update install.sh

Update install.sh #4

name: build_dev_image
on:
push:
branches:
- dev
jobs:
# build-cpu:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout (GitHub)
# uses: actions/checkout@v4
# - name: Login to GitHub Container Registry
# uses: docker/login-action@v3
# with:
# username: ${{ vars.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Build and run Dev Container task
# uses: devcontainers/[email protected]
# with:
# configFile: ./devcontainer/cpu/devcontainer.json
# imageName: roykid/molcrafts_dev:latest
build-gpu:
permissions:
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and run Dev Container task
uses: devcontainers/[email protected]
with:
configFile: ./.devcontainer/gpu/devcontainer.json
imageName: ghcr.io/molcrafts/molcrafts-dev
imageTag: latest-gpu