Skip to content

do not copy .env file into container image #2

do not copy .env file into container image

do not copy .env file into container image #2

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-api/2a5-api-test
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
dockerfile: Dockerfile
tags: latest