Skip to content

Commit

Permalink
fix: build preview and release containers using the vendored feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelmmiguel committed Jun 30, 2023
1 parent 1c0599e commit 93e1165
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/container-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -91,4 +91,4 @@ jobs:
file: image/Prebuilt.dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:preview
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:preview
4 changes: 2 additions & 2 deletions .github/workflows/container-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest

0 comments on commit 93e1165

Please sign in to comment.