Yeuoly 1 year ago
parent
commit
9f53742192
2 changed files with 2 additions and 6 deletions
  1. 1 5
      .github/workflows/tests-arm64.yml
  2. 1 1
      dev/dockerfile-arm64-github-actions

+ 1 - 5
.github/workflows/tests-arm64.yml

@@ -11,11 +11,7 @@ on:
 jobs:
   simulate-arm-linux:
     runs-on: ubuntu-latest
-
     steps:
-    - name: Checkout code
-      uses: actions/checkout@v4
-
     - name: Set up QEMU
       uses: docker/setup-qemu-action@v3
 
@@ -25,7 +21,7 @@ jobs:
     - name: Test ARM64
       uses: docker/build-push-action@v5
       with:
-        context: .
+        context: {{defaultContext}}:.
         file: ./dev/dockerfile-arm64-github-actions
         platforms: linux/arm64
         push: false

+ 1 - 1
dev/dockerfile-arm64-github-actions

@@ -9,7 +9,7 @@ RUN wget https://go.dev/dl/go1.20.6.linux-arm64.tar.gz -O /opt/go1.20.6.linux-ar
     && rm /opt/go1.20.6.linux-arm64.tar.gz \
     && ln -s /opt/go/bin/go /usr/local/bin/go
 
-RUN find /home && go mod tidy \
+RUN pwd && ls / && go mod tidy \
     && bash ./build/build_arm64.sh
 
 RUN pip install httpx requests jinja2