From 2d438af7423d93eb87fc3a6d4f0dc2adcbdfd80c Mon Sep 17 00:00:00 2001 From: Yimura <24669514+Yimura@users.noreply.github.com> Date: Thu, 15 Feb 2024 23:59:22 +0100 Subject: [PATCH] fix(Action): docker buildx not setup --- .github/workflows/build-container.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index e03d4b0..d82641f 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -24,6 +24,10 @@ jobs: name: Checkout source uses: actions/checkout@v3 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Build dependency uses: docker/build-push-action@v5 @@ -34,7 +38,8 @@ jobs: ADD_WORDLIST_N_RULES=true outputs: type=docker,dest=/tmp/${{ matrix.image }}.tar - - name: Upload dependency + - + name: Upload dependency uses: actions/upload-artifact@v3 with: name: ${{ matrix.image }} @@ -53,22 +58,30 @@ jobs: name: Checkout source uses: actions/checkout@v3 - - name: Download hashcat dependency + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - + name: Download hashcat dependency uses: actions/download-artifact@v3 with: name: hashcat path: /tmp - - name: Download wordlists dependency + - + name: Download wordlists dependency uses: actions/download-artifact@v3 with: name: wordlists path: /tmp - - name: Load hashcat dependecy + - + name: Load hashcat dependecy run: docker load --input /tmp/hashcat.tar - - name: Load wordlists dependecy + - + name: Load wordlists dependecy run: docker load --input /tmp/wordlists.tar -