-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build windows servercore image #58
base: main
Are you sure you want to change the base?
Conversation
@@ -162,4 +227,4 @@ jobs: | |||
uses: softprops/action-gh-release@v2 | |||
with: | |||
generate_release_notes: true | |||
tag_name: ${{ needs.version.outputs.new-version }} | |||
tag_name: ${{ needs.version.outputs.new-version }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tag_name: ${{ needs.version.outputs.new-version }} | |
tag_name: ${{ needs.version.outputs.new-version }} | |
RUN Invoke-WebRequest -Uri "https://github.com/prefix-dev/pixi/releases/download/v${env:PIXI_VERSION}/pixi-x86_64-pc-windows-msvc.exe" -OutFile C:\Windows\System32\pixi.exe | ||
|
||
RUN pixi --version | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RUN mkdir C:\Pixi | ||
|
||
# Download Pixi | ||
ADD https://github.com/prefix-dev/pixi/releases/download/v${PIXI_VERSION}/pixi-x86_64-pc-windows-msvc.exe C:\Pixi\pixi.exe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
while we're at it: there is also https://github.com/prefix-dev/pixi/releases/download/v0.39.0/pixi-aarch64-pc-windows-msvc.exe
. wdyt of doing a multi-arch build on windows as well similar to linux?
shell: pwsh | ||
|
||
- name: Login to GHCR | ||
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 | |
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 |
ADD https://github.com/prefix-dev/pixi/releases/download/v${PIXI_VERSION}/pixi-x86_64-pc-windows-msvc.exe C:\Pixi\pixi.exe | ||
|
||
# Set PATH environment variable | ||
ENV PATH="C:\Pixi;${PATH}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ENV PATH="C:\Pixi;${PATH}" | |
ENV PATH="C:\Pixi;${PATH}" | |
built on my fork here: https://github.com/jamesfricker/pixi-docker/actions/runs/12095385879/job/33728500880
based on base image: https://hub.docker.com/r/microsoft/windows-servercore
closes #36