Skip to content

Commit

Permalink
docker build and needle scene update resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
ryichando committed Jan 8, 2025
1 parent 6f23d99 commit ad88dbf
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build Docker Image

on:
workflow_dispatch:

env:
REGISTRY: ghcr.io
NAME: ppf-contact-solver-base
jobs:
build-and-push:
runs-on: ppf-contact-solver-NVIDIA
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker Login
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Image
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ env.REGISTRY }}/${{ github.repository }}/${{ env.NAME }}:latest
2 changes: 1 addition & 1 deletion examples/needle.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"V, F = app.mesh.square(res=129)\n",
"app.asset.add.tri(\"sheet\", V, F)\n",
"\n",
"V, F = app.mesh.cone(height=5, Nr=20, Ny=32, Nb=12, radius=1)\n",
"V, F = app.mesh.cone(height=5, Nr=40, Ny=64, Nb=12, radius=1, sharpen=2)\n",
"app.asset.add.tri(\"cone\", V, F)\n",
"\n",
"V, F, T = app.mesh.icosphere(r=0.25, subdiv_count=4).tetrahedralize()\n",
Expand Down

0 comments on commit ad88dbf

Please sign in to comment.