Update WF to run on Gitea runners and add priority for docker tag
All checks were successful
Build and Push Docker Images / build (push) Successful in 8m41s

This commit is contained in:
2026-02-10 21:43:44 +05:30
parent 4cbad67510
commit 69f2142631

View File

@@ -6,12 +6,12 @@ on:
branches: [ main ] branches: [ main ]
paths: paths:
- 'build/**' - 'build/**'
- '.github/workflows/**' - '.gitea/workflows/**'
pull_request: pull_request:
branches: [ main ] branches: [ main ]
paths: paths:
- 'build/**' - 'build/**'
- '.github/workflows/**' - '.gitea/workflows/**'
jobs: jobs:
build: build:
@@ -69,14 +69,14 @@ jobs:
type=sha,format=long,prefix=sha- type=sha,format=long,prefix=sha-
type=raw,value=${{ steps.version.outputs.major_version }} type=raw,value=${{ steps.version.outputs.major_version }}
type=raw,value=${{ steps.version.outputs.minor_version }} type=raw,value=${{ steps.version.outputs.minor_version }}
type=raw,value=${{ steps.version.outputs.version }} type=raw,value=${{ steps.version.outputs.version }},priority=1000
type=raw,value=latest type=raw,value=latest
- -
name: Build and push name: Build and push
uses: docker/build-push-action@v6.18.0 uses: docker/build-push-action@v6.18.0
with: with:
context: ./build context: ./build
push: ${{ github.event_name != 'pull_request' }} push: ${{ gitea.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64,linux/arm/v7 platforms: linux/amd64,linux/arm64,linux/arm/v7