feat: Add ecosystem network to landing page capabilities #1
Workflow file for this run
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: Release | |
| on: | |
| push: | |
| tags: ['v*'] | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: predomicsapp-web | |
| - name: Checkout gpredomics (Rust ML engine) | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: predomics/gpredomics | |
| path: gpredomics | |
| - name: Checkout gpredomicspy (Python bindings) | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: predomics/gpredomicspy | |
| path: gpredomicspy | |
| - run: cp predomicsapp-web/.dockerignore .dockerignore 2>/dev/null || true | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Extract version from tag | |
| id: version | |
| run: echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT | |
| - name: Build and push Docker image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: predomicsapp-web/Dockerfile | |
| push: true | |
| tags: | | |
| ghcr.io/${{ github.repository_owner }}/predomicsapp-web:latest | |
| ghcr.io/${{ github.repository_owner }}/predomicsapp-web:${{ steps.version.outputs.version }} | |
| labels: | | |
| org.opencontainers.image.title=PredomicsApp | |
| org.opencontainers.image.description=Web application for gpredomics ML model discovery | |
| org.opencontainers.image.version=${{ steps.version.outputs.version }} | |
| org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }} | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max |