Skip to content

제목 폰트 크기 마진 통일 #60

제목 폰트 크기 마진 통일

제목 폰트 크기 마진 통일 #60

Workflow file for this run

name: FE CI - Build & Push to GHCR (CRA)
on:
push:
branches: ["main"]
workflow_dispatch: {}
permissions:
contents: read
packages: write
env:
REGISTRY: ghcr.io
IMAGE_NAME: ghcr.io/rerise-platform/rerise-fe
jobs:
build-and-push:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node 20
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm' # yarn/pnpm이면 값 변경
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
with:
install: true
driver: docker-container
# driver-opts: image=moby/buildkit:latest # (옵션)
# (옵션) CRA 빌드 타임 환경값
- name: Build args
run: echo "REACT_APP_API_BASE=/api" >> $GITHUB_ENV
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest
type=sha,format=long
- name: Build & Push
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: true
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
REACT_APP_API_BASE=${{ env.REACT_APP_API_BASE }}
cache-from: type=gha
cache-to: type=gha,mode=max