Skip to content

Commit

Permalink
fix: should pass cache options when vcpkg install
Browse files Browse the repository at this point in the history
  • Loading branch information
cavivie authored Mar 29, 2024
1 parent daeae98 commit 0eaf0c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/docker-build-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
docker build \
--build-arg VCPKG_BINARY_SOURCES="clear;x-gha,readwrite" \
--build-arg ACTIONS_CACHE_URL="${{ env.ACTIONS_CACHE_URL }}" \
--build-arg ACTIONS_CACHE_URL="${{ env.ACTIONS_RUNTIME_TOKEN }}" \
--build-arg ACTIONS_RUNTIME_TOKEN="${{ env.ACTIONS_RUNTIME_TOKEN }}" \
-t "${{ inputs.registry }}/${{ inputs.image }}:${{ inputs.tag }}" ${{ inputs.context }}
shell: ${{ inputs.shell }}

Expand Down
3 changes: 3 additions & 0 deletions win-alrd-rsxe/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM ghcr.io/automesh-network/dockerfiles:win-dev-rust

ARG VCPKG_BINARY_SOURCES=
ARG ACTIONS_CACHE_URL=
ARG ACTIONS_RUNTIME_TOKEN=
RUN vcpkg install openssl:x64-windows openssl:x64-windows-static openssl:x64-windows-static-md
RUN vcpkg install openssl:x86-windows openssl:x86-windows-static openssl:x86-windows-static-md
RUN vcpkg install openssl:arm64-windows openssl:arm64-windows-static openssl:arm64-windows-static-md
Expand Down

0 comments on commit 0eaf0c6

Please sign in to comment.