mirror of
https://github.com/azaion/flights.git
synced 2026-04-23 01:26:31 +00:00
1824c4374f
- Delete the .woodpecker.yml file, which contained multi-platform build configurations for the CI pipeline. - This change reflects a shift in CI strategy or tooling.
21 lines
533 B
YAML
21 lines
533 B
YAML
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/flights:${{ github.ref_name }}-${{ matrix.tag }} .
|
|
docker push localhost:5000/flights:${{ github.ref_name }}-${{ matrix.tag }}
|