Skip to content

fix: correct docker metadata tagging #10

fix: correct docker metadata tagging

fix: correct docker metadata tagging #10

Workflow file for this run

name: Test Docker Image
on:
push:
branches:
- performance-stability-optimization
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag univpn:test
- name: Run container and perform tests
run: |
docker run -d --name univpn-test univpn:test
sleep 20 # Wait for services to start
echo "--- Service Status ---"
docker exec univpn-test supervisorctl -c /etc/supervisor/supervisord.conf status
echo "--- Resource Consumption ---"
docker stats --no-stream univpn-test
echo "--- Service Startup Times ---"
docker exec univpn-test supervisorctl -c /etc/supervisor/supervisord.conf status | awk '{print $1, $4}'
docker stop univpn-test