From d9777f341bbdabaa04cd68b7ba10fc591cc3a008 Mon Sep 17 00:00:00 2001 From: Yann Mack-Veilleux <134957592+YannRDK@users.noreply.github.com> Date: Fri, 9 Jun 2023 15:06:18 -0400 Subject: [PATCH] Workflow Test 19 using v2 to setup buildx Directly pointed build-push-action to Docketfile. --- .github/workflows/RoboDK-API.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/RoboDK-API.yml b/.github/workflows/RoboDK-API.yml index 76983c55..498ece3a 100644 --- a/.github/workflows/RoboDK-API.yml +++ b/.github/workflows/RoboDK-API.yml @@ -47,11 +47,9 @@ jobs: if: always() uses: docker/build-push-action@v2 with: - context: . - file: ${{ github.workspace }}\Python\tests\RoboDK_Dockerfile + context: ${{ github.workspace }}\Python\tests\RoboDK_Dockerfile push: true tags: robodk/robodk:latest - cache-from: type=registry,ref=robodk/robodk:latest - name: Run Tests run: | @@ -104,16 +102,14 @@ jobs: python -m pip install -r requirements.txt - name: Setup Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build and push Docker image uses: docker/build-push-action@v2 with: - context: . - file: ${{ github.workspace }}\Python\tests\RoboDK_Dockerfile + context: ${{ github.workspace }}\Python\tests\RoboDK_Dockerfile push: true tags: robodk/robodk:latest - cache-from: type=registry,ref=robodk/robodk:latest - name: Run Tests run: |