Skip to content

Commit

Permalink
gh
Browse files Browse the repository at this point in the history
  • Loading branch information
Meakk committed Jan 30, 2025
1 parent 40db6b0 commit 4d71f3f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: docker/build-push-action@v6
with:
push: ${{ github.ref == 'refs/heads/main' }}
tags: f3d-app/f3d-ci:latest
tags: ghcr.io/f3d-app/f3d-ci:latest
context: "{{defaultContext}}:ci"

build_f3d-wasm:
Expand All @@ -49,16 +49,16 @@ jobs:
uses: docker/build-push-action@v6
with:
push: ${{ github.ref == 'refs/heads/main' }}
tags: f3d-app/f3d-wasm:${{ env.VTK_SHA }}
tags: ghcr.io/f3d-app/f3d-wasm:${{ env.VTK_SHA }}
context: "{{defaultContext}}:webassembly"
build-args: |
CMAKE_BUILD_PARALLEL_LEVEL=4
ASSIMP_VERSION=v5.4.2
DRACO_VERSION=1.5.7
OCCT_VERSION=V7_8_1
VTK_VERSION=${{ env.VTK_SHA }}
cache-from: type=registry,ref=f3d-app/f3d-wasm-${{ env.VTK_SHA }}:buildcache
cache-to: type=registry,ref=f3d-app/f3d-wasm-${{ env.VTK_SHA }}:buildcache,mode=max,compression=zstd
cache-from: type=registry,ref=ghcr.io/f3d-app/f3d-wasm-${{ env.VTK_SHA }}:buildcache
cache-to: type=registry,ref=ghcr.io/f3d-app/f3d-wasm-${{ env.VTK_SHA }}:buildcache,mode=max,compression=zstd

build_f3d-android:
strategy:
Expand All @@ -83,7 +83,7 @@ jobs:
uses: docker/build-push-action@v6
with:
push: ${{ github.ref == 'refs/heads/main' }}
tags: f3d-app/f3d-android-${{ matrix.arch }}:${{ env.VTK_SHA }}
tags: ghcr.io/f3d-app/f3d-android-${{ matrix.arch }}:${{ env.VTK_SHA }}
context: "{{defaultContext}}:android"
build-args: |
ANDROID_API=34
Expand All @@ -96,8 +96,8 @@ jobs:
IMATH_VERSION=v3.1.12
OCCT_VERSION=V7_8_1
VTK_VERSION=${{ env.VTK_SHA }}
cache-from: type=registry,ref=f3d-app/f3d-android-${{ matrix.arch }}-${{ env.VTK_SHA }}:buildcache
cache-to: type=registry,ref=f3d-app/f3d-android-${{ matrix.arch }}-${{ env.VTK_SHA }}:buildcache,mode=max,compression=zstd
cache-from: type=registry,ref=ghcr.io/f3d-app/f3d-android-${{ matrix.arch }}-${{ env.VTK_SHA }}:buildcache
cache-to: type=registry,ref=ghcr.io/f3d-app/f3d-android-${{ matrix.arch }}-${{ env.VTK_SHA }}:buildcache,mode=max,compression=zstd

build_f3d-superbuild-ci:
runs-on: ubuntu-latest
Expand All @@ -114,7 +114,7 @@ jobs:
uses: docker/build-push-action@v6
with:
push: ${{ github.ref == 'refs/heads/main' }}
tags: f3d-app/f3d-superbuild-ci:latest
tags: ghcr.io/f3d-app/f3d-superbuild-ci:latest
context: "{{defaultContext}}:superbuild"

build_f3d-wheels-manylinux-ci:
Expand All @@ -133,5 +133,5 @@ jobs:
uses: docker/build-push-action@v6
with:
push: ${{ github.ref == 'refs/heads/main' }}
tags: f3d-app/f3d-wheels-manylinux-ci:latest
tags: ghcr.io/f3d-app/f3d-wheels-manylinux-ci:latest
context: "{{defaultContext}}:wheels-manylinux"
2 changes: 1 addition & 1 deletion android/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ RUN cmake --build /vtk-build && rm -rf /vtk-src
######################################
FROM base

ENV CMAKE_TOOLCHAIN_FILE /android-toolchain.cmake
ENV CMAKE_TOOLCHAIN_FILE=/android-toolchain.cmake

COPY --from=alembic /depends /depends
COPY --from=assimp /depends /depends
Expand Down

0 comments on commit 4d71f3f

Please sign in to comment.