mirror of
https://github.com/azaion/ui.git
synced 2026-04-22 08:56:35 +00:00
26 lines
445 B
YAML
26 lines
445 B
YAML
when:
|
|
branch: [stage, main]
|
|
event: push
|
|
|
|
matrix:
|
|
include:
|
|
- PLATFORM: linux/arm64
|
|
TAG: arm
|
|
- PLATFORM: linux/amd64
|
|
TAG: amd64
|
|
|
|
labels:
|
|
platform: ${PLATFORM}
|
|
|
|
steps:
|
|
- name: build-and-push
|
|
image: plugins/docker
|
|
settings:
|
|
dockerfile: Dockerfile
|
|
context: .
|
|
repo: registry:5000/ui
|
|
tags:
|
|
- "${CI_COMMIT_BRANCH}-${TAG}"
|
|
- "${CI_COMMIT_SHA:0:8}-${TAG}"
|
|
insecure: true
|