Skip to content

Commit 17770a0

Browse files
committed
fix: simplify further
1 parent 4c4e9c7 commit 17770a0

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
steps:
2020
- name: Checkout repository
2121
uses: actions/checkout@v4
22+
with:
23+
autocrlf: false
2224

2325
- name: Log in to GitHub Container Registry
2426
uses: docker/login-action@v3

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ WORKDIR "C:/Program Files/Vector"
1111
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
1212

1313
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"; \
14+
$url = "https://github.com/vectordotdev/vector/releases/download/v${env:VECTOR_VERSION}/vector-${env:VECTOR_VERSION}-x86_64-pc-windows-msvc.zip"; \
1515
Write-Host "Download URL: $url"; \
1616
Invoke-WebRequest -UseBasicParsing -Uri $url -OutFile "vector.zip"; \
1717
Expand-Archive -Path "vector.zip" -DestinationPath "."; \
1818
Remove-Item "vector.zip" -Force
1919

20-
ENV PATH="C:\\Program Files\\Vector\\bin;C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\WindowsPowerShell\\v1.0"
20+
RUN setx /M PATH "%PATH%;C:\Program Files\Vector\bin"
2121

2222
ENTRYPOINT ["vector.exe"]

0 commit comments

Comments
 (0)