Skip to content

Commit c0049dd

Browse files
committed
fix: simplify further
1 parent f9be449 commit c0049dd

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build-and-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
shell: pwsh
3333
run: |
3434
docker build `
35-
--build-arg WINDOWS_VERSION=ltsc2022 `
35+
--build-arg WINDOWS_VERSION=ltsc2025 `
3636
--build-arg VECTOR_VERSION=0.51.0 `
3737
-t ghcr.io/${{ github.repository_owner }}/vector-windows-container-image:latest `
3838
-t ghcr.io/${{ github.repository_owner }}/vector-windows-container-image:v0.51.0 `

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ WORKDIR C:/Program Files/Vector
1010

1111
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
1212

13-
RUN Write-Host "VECTOR_VERSION: $env:VECTOR_VERSION"; \
14-
$url = "https://github.com/vectordotdev/vector/releases/download/v$env:VECTOR_VERSION/vector-$env:VECTOR_VERSION-x86_64-pc-windows-msvc.zip"; \
15-
Write-Host "Download URL: $url"; \
16-
Invoke-WebRequest -UseBasicParsing -Uri $url -OutFile "vector.zip"; \
17-
Expand-Archive -Path "vector.zip" -DestinationPath "."; \
13+
RUN Write-Host "VECTOR_VERSION: $env:VECTOR_VERSION"; `
14+
$url = "https://github.com/vectordotdev/vector/releases/download/v$env:VECTOR_VERSION/vector-$env:VECTOR_VERSION-x86_64-pc-windows-msvc.zip"; `
15+
Write-Host "Download URL: $url"; `
16+
Invoke-WebRequest -UseBasicParsing -Uri $url -OutFile "vector.zip"; `
17+
Expand-Archive -Path "vector.zip" -DestinationPath "."; `
1818
Remove-Item "vector.zip"
1919

2020
ENV PATH="C:\\Program Files\\Vector\\bin;C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\WindowsPowerShell\\v1.0"

0 commit comments

Comments
 (0)