Skip to content

feat(proposal): integrate faculty reviewers into proposal documents a… #99

feat(proposal): integrate faculty reviewers into proposal documents a…

feat(proposal): integrate faculty reviewers into proposal documents a… #99

Workflow file for this run

name: Build Images
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
build-and-push:
name: Build & Push to GHCR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push backend
uses: docker/build-push-action@v6
with:
context: ./backend
file: ./backend/dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/eventio-backend:latest
cache-from: type=gha,scope=backend
cache-to: type=gha,scope=backend,mode=max
- name: Build and push student portal image
uses: docker/build-push-action@v6
with:
context: ./frontend/app
file: ./frontend/app/Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/eventio-app:latest
build-args: |
NEXT_PUBLIC_SERVER_ADDRESS=${{ vars.NEXT_PUBLIC_SERVER_ADDRESS }}
cache-from: type=gha,scope=app
cache-to: type=gha,scope=app,mode=max
- name: Build and push council portal image
uses: docker/build-push-action@v6
with:
context: ./frontend/council-app
file: ./frontend/council-app/Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/eventio-council-app:latest
build-args: |
NEXT_PUBLIC_SERVER_ADDRESS=${{ vars.NEXT_PUBLIC_SERVER_ADDRESS }}
cache-from: type=gha,scope=council-app
cache-to: type=gha,scope=council-app,mode=max