feat: VortexUI v1.0.1 — Telegram bot, RBAC, bandwidth limit, ACME cer… #44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| # Verifies the Docker images build on every push to master / version tags. | |
| # Images are NOT published — the installer builds them locally, so GHCR | |
| # packages are optional. To publish later, add a login step with a GHCR_PAT | |
| # secret and set push: true. | |
| on: | |
| push: | |
| branches: [master] | |
| tags: ["v*"] | |
| workflow_dispatch: {} | |
| permissions: | |
| contents: read | |
| jobs: | |
| images: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - { name: panel, file: deploy/Dockerfile, target: panel } | |
| - { name: node, file: deploy/Dockerfile, target: node } | |
| - { name: web, file: deploy/web.Dockerfile, target: "" } | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Read version | |
| id: ver | |
| run: echo "version=$(cat VERSION)" >> "$GITHUB_OUTPUT" | |
| - uses: docker/setup-buildx-action@v3 | |
| - name: Build ${{ matrix.name }} image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: ${{ matrix.file }} | |
| target: ${{ matrix.target }} | |
| push: false | |
| tags: vortexui-${{ matrix.name }}:${{ steps.ver.outputs.version }} | |
| build-args: VERSION=${{ steps.ver.outputs.version }} | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max |