Skip to content

Website

Website #3

Workflow file for this run

name: Website
on:
workflow_dispatch:
env:
GHCR_REGISTRY: ghcr.io
permissions:
contents: write
packages: write
jobs:
docker-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the ghcr container registry
uses: docker/login-action@v3
with:
registry: ${{ env.GHCR_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push to ghcr
uses: docker/build-push-action@v5
with:
context: .
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
file: apps/website/Dockerfile
tags: ${{ env.GHCR_REGISTRY }}/ignisda/ryot-website:latest