diff --git a/.github/workflows/_build_artifacts.yml b/.github/workflows/_build_artifacts.yml index aca941b76..7aa9350a5 100644 --- a/.github/workflows/_build_artifacts.yml +++ b/.github/workflows/_build_artifacts.yml @@ -78,7 +78,7 @@ jobs: # supports v0.11.6 https://github.com/docker/buildx/blob/b8739d74417f86aa8fc9aafb830a8ba656bdef0e/Dockerfile#L9. # We should for any updates on buildx and on the setup-buildx-action itself. driver-opts: | - image=moby/buildkit:v0.13.2 + image=moby/buildkit:v0.15.1 - uses: ./.github/actions/gcp-docker-login id: login with: @@ -257,7 +257,7 @@ jobs: # supports v0.11.6 https://github.com/docker/buildx/blob/b8739d74417f86aa8fc9aafb830a8ba656bdef0e/Dockerfile#L9. # We should for any updates on buildx and on the setup-buildx-action itself. driver-opts: | - image=moby/buildkit:v0.13.2 + image=moby/buildkit:v0.15.1 - uses: ./.github/actions/gcp-docker-login id: login with: @@ -372,6 +372,12 @@ jobs: run: ls -R /tmp/digests - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + # We are overriding the default buildkit version being used by Buildx. We need buildkit >= 12.0 and currently BuildX + # supports v0.11.6 https://github.com/docker/buildx/blob/b8739d74417f86aa8fc9aafb830a8ba656bdef0e/Dockerfile#L9. + # We should for any updates on buildx and on the setup-buildx-action itself. + driver-opts: | + image=moby/buildkit:v0.15.1 - name: Build Version Tags run: | set -xe diff --git a/.github/workflows/_deploy_production.yml b/.github/workflows/_deploy_production.yml index bf44fab38..a315c2080 100644 --- a/.github/workflows/_deploy_production.yml +++ b/.github/workflows/_deploy_production.yml @@ -49,6 +49,14 @@ jobs: id: login-production with: project: firezone-prod + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + with: + # We are overriding the default buildkit version being used by Buildx. We need buildkit >= 12.0 and currently BuildX + # supports v0.11.6 https://github.com/docker/buildx/blob/b8739d74417f86aa8fc9aafb830a8ba656bdef0e/Dockerfile#L9. + # We should for any updates on buildx and on the setup-buildx-action itself. + driver-opts: | + image=moby/buildkit:v0.15.1 - name: Pull and push images run: | set -xe @@ -169,6 +177,14 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + with: + # We are overriding the default buildkit version being used by Buildx. We need buildkit >= 12.0 and currently BuildX + # supports v0.11.6 https://github.com/docker/buildx/blob/b8739d74417f86aa8fc9aafb830a8ba656bdef0e/Dockerfile#L9. + # We should for any updates on buildx and on the setup-buildx-action itself. + driver-opts: | + image=moby/buildkit:v0.15.1 - name: Pull and push run: | set -xe diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 543bbd47e..4770dff6a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,6 +57,14 @@ jobs: echo "version=$VERSION" >> "$GITHUB_OUTPUT" echo "major_version=$MAJOR_VERSION" >> "$GITHUB_OUTPUT" echo "major_minor_version=$MAJOR_MINOR_VERSION" >> "$GITHUB_OUTPUT" + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + with: + # We are overriding the default buildkit version being used by Buildx. We need buildkit >= 12.0 and currently BuildX + # supports v0.11.6 https://github.com/docker/buildx/blob/b8739d74417f86aa8fc9aafb830a8ba656bdef0e/Dockerfile#L9. + # We should for any updates on buildx and on the setup-buildx-action itself. + driver-opts: | + image=moby/buildkit:v0.15.1 - name: Pull and push if: ${{ steps.set-variables.outputs.artifact == 'gateway' || steps.set-variables.outputs.artifact == 'client' }} run: |