2 Commits
1.0.0 ... 1.0.2

View File

@@ -11,7 +11,7 @@ permissions:
jobs: jobs:
build: build:
runs-on: docker runs-on: dind
env: env:
REGISTRY: hub.realmanual.ru REGISTRY: hub.realmanual.ru
IMAGE_NAME: pub/sqlite-backup/backup IMAGE_NAME: pub/sqlite-backup/backup
@@ -21,18 +21,6 @@ jobs:
with: with:
fetch-depth: 0 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 - name: Extract tag
id: vars id: vars
shell: bash shell: bash