Bump github.com/knadh/koanf/v2 from 2.1.1 to 2.1.2 #209
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build Docker image | |
run: docker build -t lunarr-app . | |
- name: Run Docker container | |
run: docker run -d -p 8484:8484 --name lunarr-container lunarr-app | |
- name: Wait for container to start | |
run: sleep 5s | |
- name: Send curl request | |
run: curl http://127.0.0.1:8484/hello | |
- name: Stop and remove container | |
run: docker stop lunarr-container && docker rm lunarr-container |