Skip to content

pass x-real-ip to 2a5-api #4

pass x-real-ip to 2a5-api

pass x-real-ip to 2a5-api #4

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
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
dockerfile: Dockerfile
buildoptions: "--target runner"
tags: latest