From cbb97165cefbf6306962c5920082b494bbd18736 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 10 Feb 2026 12:46:07 -0800 Subject: [PATCH] ci: make unified manual container build release-tag based --- .../workflows/container_release_unified.yml | 76 +++---------------- 1 file changed, 11 insertions(+), 65 deletions(-) diff --git a/.github/workflows/container_release_unified.yml b/.github/workflows/container_release_unified.yml index b4b44edbc..b40de20ac 100644 --- a/.github/workflows/container_release_unified.yml +++ b/.github/workflows/container_release_unified.yml @@ -13,12 +13,15 @@ on: default: all options: - all - - dev - normal - large_disk - full - large_disk_full - rocksdb + release_tag: + description: 'Release tag to publish (e.g. 3.93)' + required: true + default: '' rocksdb_version: description: 'RocksDB git tag to use when variant=rocksdb' required: false @@ -27,71 +30,15 @@ on: permissions: contents: read +env: + RELEASE_TAG: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.release_tag || github.ref_name }} + # Limit concurrent builds to avoid rate limits concurrency: group: release-${{ github.ref }} cancel-in-progress: false jobs: - build-dev-on-demand: - runs-on: ubuntu-latest - if: github.event_name == 'workflow_dispatch' && github.event.inputs.variant == 'dev' - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Docker meta - id: docker_meta - uses: docker/metadata-action@v5 - with: - images: | - chrislusf/seaweedfs - ghcr.io/chrislusf/seaweedfs - tags: | - type=raw,value=dev - labels: | - org.opencontainers.image.title=seaweedfs - org.opencontainers.image.description=SeaweedFS is a distributed storage system for blobs, objects, files, and data lake, to store and serve billions of files fast! - org.opencontainers.image.vendor=Chris Lu - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Create BuildKit config - run: | - cat > /tmp/buildkitd.toml <