From d5a54ce2e96311dcb48d1c34e41d3ae6387558a3 Mon Sep 17 00:00:00 2001 From: Donghee Na Date: Mon, 23 Sep 2024 12:21:36 -0700 Subject: [PATCH 1/2] ci: Set working directory as autoconf --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 276cd51..824dcdc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,6 @@ jobs: matrix: autoconf_version: ["2.69", "2.71", "2.72"] runs-on: ubuntu-latest - defaults: - run: - working-directory: ./autoconf env: TAG: autoconf:${{ matrix.autoconf_version }}-${{ github.run_id }} steps: @@ -27,6 +24,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Build Dockerfile uses: docker/build-push-action@v5 + working-directory: ./autoconf with: context: . build-args: AUTOCONF_VERSION=${{ matrix.autoconf_version }} From 43e4a4d9ba2bf02e9af93ed3abdc028818871e71 Mon Sep 17 00:00:00 2001 From: Donghee Na Date: Mon, 23 Sep 2024 12:23:51 -0700 Subject: [PATCH 2/2] fix --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 824dcdc..f0d8b38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,9 +24,8 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Build Dockerfile uses: docker/build-push-action@v5 - working-directory: ./autoconf with: - context: . + context: ./autoconf build-args: AUTOCONF_VERSION=${{ matrix.autoconf_version }} load: true tags: ${{ env.TAG }}