Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Workflow file for this run

name: Build and Publish docker images
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Copy .env
run: cp .env.prod.example .env
- name: Build image
run: make docker-build
- name: Login to GitHub container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish image
run: make docker-push