Skip to content

Add prod workflow

Add prod workflow #1

Workflow file for this run

name: Build Prod
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [main]
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and Publish to Github Packages Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: reckseba/2a5-app/2a5-app-prod
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
dockerfile: Dockerfile
tags: latest