ci(gl): add Gitea delivery workflows

This commit is contained in:
2026-08-15 00:50:25 +03:30
parent a54070cfad
commit 675def5fe6
7 changed files with 303 additions and 0 deletions
@@ -0,0 +1,31 @@
name: Docker Build
description: Build image and load it into the local Docker daemon
inputs:
image:
description: Full image name without a tag
required: true
branch:
description: Branch tag
required: true
commit_sha:
description: Commit SHA tag
required: true
runs:
using: composite
steps:
- name: Build
shell: bash
env:
IMAGE: ${{ inputs.image }}
BRANCH: ${{ inputs.branch }}
COMMIT_SHA: ${{ inputs.commit_sha }}
run: |
set -euo pipefail
docker buildx build \
-f build/Dockerfile \
--build-arg "GO_PROXY=https://go.reg.darano.ir" \
--load \
-t "$IMAGE:$BRANCH" \
-t "$IMAGE:$COMMIT_SHA" \
.