From 93e116584df1c580aa8e071076062dd059a88f76 Mon Sep 17 00:00:00 2001 From: Angel M De Miguel Date: Fri, 30 Jun 2023 10:11:36 +0200 Subject: [PATCH] fix: build preview and release containers using the vendored feature --- .github/workflows/container-preview.yml | 4 ++-- .github/workflows/container-release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/container-preview.yml b/.github/workflows/container-preview.yml index e170489a..7c945fec 100644 --- a/.github/workflows/container-preview.yml +++ b/.github/workflows/container-preview.yml @@ -45,7 +45,7 @@ jobs: sudo apt-get update sudo apt-get install musl-tools - name: Build - run: ${{env.CARGO}} build --release --target=${{ matrix.arch }}-${{ matrix.platform }} + run: ${{env.CARGO}} build --release --target=${{ matrix.arch }}-${{ matrix.platform }} --features vendored-openssl - name: Upload artifact uses: actions/upload-artifact@v3 with: @@ -91,4 +91,4 @@ jobs: file: image/Prebuilt.dockerfile push: true platforms: linux/amd64,linux/arm64 - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:preview \ No newline at end of file + tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:preview diff --git a/.github/workflows/container-release.yml b/.github/workflows/container-release.yml index 3d1994b7..6d4704bd 100644 --- a/.github/workflows/container-release.yml +++ b/.github/workflows/container-release.yml @@ -46,7 +46,7 @@ jobs: sudo apt-get update sudo apt-get install musl-tools - name: Build - run: ${{env.CARGO}} build --release --target=${{ matrix.arch }}-${{ matrix.platform }} + run: ${{env.CARGO}} build --release --target=${{ matrix.arch }}-${{ matrix.platform }} --features vendored-openssl - name: Upload artifact uses: actions/upload-artifact@v3 with: @@ -92,4 +92,4 @@ jobs: file: image/Prebuilt.dockerfile push: true platforms: linux/amd64,linux/arm64 - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest \ No newline at end of file + tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest