Enhance Dockerfile for multi-architecture compatibility by implementing BUILDPLATFORM and TARGETARCH arguments in the dotnet publish process.

This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-04-08 06:33:16 +03:00
parent a80f90283d
commit f1e8ab1239
+15
View File
@@ -0,0 +1,15 @@
when:
branch: [stage, main]
event: push
steps:
- name: build-and-push
image: plugins/docker
settings:
dockerfile: src/Dockerfile
context: src/
repo: registry:5000/annotations
tags:
- "${CI_COMMIT_BRANCH}"
- "${CI_COMMIT_SHA:0:8}"
insecure: true