1 Commits
1.0.1 ... 1.0.2

View File

@@ -11,7 +11,7 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
runs-on: dind
env:
REGISTRY: hub.realmanual.ru
IMAGE_NAME: pub/sqlite-backup/backup
@@ -21,18 +21,6 @@ jobs:
with:
fetch-depth: 0
- name: Ensure tag commit is reachable from main
shell: bash
run: |
set -euo pipefail
git fetch --no-tags --depth=0 origin main
if git merge-base --is-ancestor "$GITHUB_SHA" origin/main; then
echo "Commit is on main history. Proceeding."
else
echo "Tag commit is not from main. Skipping build." >&2
exit 0
fi
- name: Extract tag
id: vars
shell: bash