Update install.sh #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |