This commit is contained in:
arabcoders 2025-08-30 23:08:09 +03:00
parent ec43b0290c
commit fbaf8e5404
2 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
name: Build PR (docker amd64) name: Test Build PR
on: on:
pull_request: pull_request:

View file

@ -1,4 +1,4 @@
name: Build Docker (native multi-arch) name: Build Docker Containers
on: on:
workflow_dispatch: workflow_dispatch:
@ -29,14 +29,14 @@ env:
jobs: jobs:
docker-build-arch: docker-build-arch:
name: Build image (${{ matrix.arch }}) name: Build Container (${{ matrix.arch }})
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
include: include:
- os: ubuntu-latest - os: ubuntu-latest
arch: amd64 arch: amd64
- os: ubuntu-24.04-arm64 - os: ubuntu-latest
arch: arm64 arch: arm64
permissions: permissions:
packages: write packages: write
@ -93,7 +93,7 @@ jobs:
-e "s/^APP_BRANCH = \".*\"/APP_BRANCH = \"${BRANCH}\"/" \ -e "s/^APP_BRANCH = \".*\"/APP_BRANCH = \"${BRANCH}\"/" \
app/library/version.py app/library/version.py
- name: Docker meta (arch-suffixed) - name: Docker meta
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
@ -124,7 +124,7 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Build and push (native per-arch) - name: Build and push
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
@ -148,7 +148,7 @@ jobs:
packages: write packages: write
contents: read contents: read
steps: steps:
- name: Docker meta (final tags) - name: Docker meta
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with: