mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 05:16:29 +00:00
Enhance Dockerfile for multi-architecture compatibility by implementing BUILDPLATFORM and TARGETARCH arguments in the dotnet publish process.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user