Skip to content

Add prod workflow

Add prod workflow #5

Workflow file for this run

name: Build Test
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [test]
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-test
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
dockerfile: Dockerfile
tags: latest