mirror of
https://github.com/azaion/ui.git
synced 2026-04-22 09:16:35 +00:00
Remove Woodpecker CI configuration file, eliminating multi-platform build support for ARM and AMD64.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
name: build
|
||||
on:
|
||||
push:
|
||||
branches: [stage, main]
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: [self-hosted, linux, "${{ matrix.arch }}"]
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- arch: arm64
|
||||
tag: arm
|
||||
- arch: amd64
|
||||
tag: amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
docker build -f Dockerfile -t localhost:5000/ui:${{ github.ref_name }}-${{ matrix.tag }} .
|
||||
docker push localhost:5000/ui:${{ github.ref_name }}-${{ matrix.tag }}
|
||||
@@ -1,25 +0,0 @@
|
||||
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
|
||||
Reference in New Issue
Block a user