chore(ui): relabel pre-release marker Beta -> Alpha #15
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-image | |
| # Build the Deforum production image and push to GHCR. Deforum's build needs the | |
| # sibling minister-client (public) as a named build context, so it's checked out | |
| # alongside and passed via build-contexts. | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| packages: write | |
| concurrency: | |
| group: build-deforum-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout deforum-space | |
| uses: actions/checkout@v7 | |
| with: | |
| path: app | |
| - name: Checkout minister-client (public sibling) | |
| uses: actions/checkout@v7 | |
| with: | |
| repository: MinistryofMany/minister-client | |
| path: minister-client | |
| - uses: docker/setup-buildx-action@v4 | |
| - uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: docker/build-push-action@v7 | |
| with: | |
| context: app | |
| file: app/Dockerfile | |
| build-contexts: | | |
| minister-client=minister-client | |
| push: true | |
| tags: ghcr.io/ministryofmany/ministry-deforum:latest | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max |