diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 965e81b..8dbe8e1 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -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