Skip to content

Commit 4adbfb4

Browse files
committed
fix: platform
1 parent a7e20f8 commit 4adbfb4

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
with:
4949
context: .
5050
push: true
51-
platforms: windows/amd64
5251
build-args: |
5352
WINDOWS_VERSION=ltsc2025
5453
VECTOR_VERSION=0.51.0

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ARG WINDOWS_VERSION
44
ARG VECTOR_VERSION
55

6-
from alpine:latest as downloader
6+
FROM --platform=linux/amd64 alpine:latest as downloader
77

88
WORKDIR /vector
99

@@ -12,7 +12,7 @@ RUN apk add --no-cache curl unzip && \
1212
unzip vector.zip && \
1313
rm vector.zip
1414

15-
FROM mcr.microsoft.com/windows/servercore:$WINDOWS_VERSION
15+
FROM --platform=windows/amd64 mcr.microsoft.com/windows/servercore:$WINDOWS_VERSION
1616

1717
WORKDIR C:/Program Files/Vector
1818

0 commit comments

Comments
 (0)