Change image to arm64v8

This commit is contained in:
2024-04-14 00:03:14 +02:00
parent d004a155d7
commit 150d3d7b33
4 changed files with 6 additions and 4 deletions

View File

@@ -48,3 +48,4 @@ jobs:
push: true
context: "{{defaultContext}}:auth-service"
tags: vcscsvcscs/gheritage-auth-service:${{steps.create_image_tag.outputs.result}}
platforms: linux/arm64v8

View File

@@ -48,3 +48,4 @@ jobs:
push: true
context: "{{defaultContext}}:backend"
tags: vcscsvcscs/gheritage-backend-service:${{steps.create_image_tag.outputs.result}}
platforms: linux/arm64v8

View File

@@ -4,9 +4,9 @@ WORKDIR /app
COPY . .
RUN go build -o auth-service
RUN GOOS=linux GOARCH=arm64 go build -o auth-service
FROM busybox
FROM arm64v8/busybox
COPY --from=build /app/auth-service /app/

View File

@@ -4,9 +4,9 @@ WORKDIR /app
COPY . .
RUN go build -o backend
RUN GOOS=linux GOARCH=arm64 go build -o backend
FROM busybox
FROM arm64v8/busybox
COPY --from=build /app/backend /app/