chore: Refactor Dockerfiles to use build stages for improved caching and efficiency; update .dockerignore to exclude additional files; enhance pnpm workspace configuration for better package management.
Build, Test, and Push CFDM Docker Image / test (push) Failing after 2m59s
Build, Test, and Push CFDM Docker Image / build-and-push (push) Has been skipped
Build, Test, and Push CFDM Docker Image / update-wiki (push) Has been skipped
Build, Test, and Push CFDM Docker Image / create-release (push) Has been skipped

This commit is contained in:
Denozordec
2026-06-22 14:40:43 +07:00
parent 3846184e5f
commit 41a2684a51
8 changed files with 93 additions and 44 deletions
+8
View File
@@ -16,6 +16,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test stage
uses: docker/build-push-action@v5
with:
@@ -24,6 +27,8 @@ jobs:
load: true
tags: cfdm:test
provenance: false
cache-from: type=registry,ref=git.shts.su/${{ gitea.repository }}:testcache
cache-to: type=registry,ref=git.shts.su/${{ gitea.repository }}:testcache,mode=max
- name: Run tests
run: docker run --rm cfdm:test
@@ -72,9 +77,12 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
NODE_VERSION=22.23.0-bookworm-slim
cache-from: type=registry,ref=git.shts.su/${{ gitea.repository }}:buildcache
cache-to: type=registry,ref=git.shts.su/${{ gitea.repository }}:buildcache,mode=max
provenance: true