From 8b888adeed97b872d0ff8a82a64a85d9258089c9 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Fri, 13 Oct 2023 15:21:30 +0300 Subject: [PATCH] fix buildx --- .github/workflows/buildx.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/buildx.yml b/.github/workflows/buildx.yml index 1c6a5dd..e91a916 100644 --- a/.github/workflows/buildx.yml +++ b/.github/workflows/buildx.yml @@ -11,8 +11,7 @@ jobs: fail-fast: false matrix: docker-file: - - path: latest - tags: "latest" + - tags: "latest" platforms: linux/amd64,linux/arm64 steps: @@ -58,8 +57,8 @@ jobs: if: success() && !contains(github.ref, 'master') with: push: false - context: ./${{ matrix.docker-file.path }} - file: ./${{ matrix.docker-file.path }}/Dockerfile + context: ./ + file: ./Dockerfile build-args: REFRESHED_AT=$(date +%Y-%m-%d) platforms: ${{ matrix.docker-file.platforms }} tags: ${{ steps.prepare.outputs.tags }} @@ -76,8 +75,8 @@ jobs: if: success() && contains(github.ref, 'master') with: push: true - context: ./${{ matrix.docker-file.path }} - file: ./${{ matrix.docker-file.path }}/Dockerfile + context: ./ + file: ./Dockerfile build-args: REFRESHED_AT=$(date +%Y-%m-%d) platforms: ${{ matrix.docker-file.platforms }} tags: ${{ steps.prepare.outputs.tags }}