From e3b4504e7086aa0e37e2433f4a1adbef7e632570 Mon Sep 17 00:00:00 2001 From: Robbe Sneyders Date: Tue, 4 Jul 2023 14:20:51 +0200 Subject: [PATCH] Install buildx in prep-release pipeline (#263) [The prep-release pipeline failed](https://github.com/ml6team/fondant/actions/runs/5452193633) because the new build script requires buildx. --- .github/workflows/build.yaml | 6 +++--- .github/workflows/prep-release.yaml | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 201a82e30..c80e8d8eb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -15,6 +15,9 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 + - name: Set buildx alias + run: docker buildx install + - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: @@ -22,8 +25,5 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Set buildx alias - run: docker buildx install - - name: Build components run: ./scripts/build_components.sh --cache -t $GITHUB_SHA -t dev diff --git a/.github/workflows/prep-release.yaml b/.github/workflows/prep-release.yaml index 8f57a7552..e9b84416a 100644 --- a/.github/workflows/prep-release.yaml +++ b/.github/workflows/prep-release.yaml @@ -18,6 +18,12 @@ jobs: with: python-version: 3.9 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Set buildx alias + run: docker buildx install + - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: