Skip to content

testing compiling with a secret #5

testing compiling with a secret

testing compiling with a secret #5

Workflow file for this run

name: Docker Test
on:
push:
# Test `develop`
branches:
- develop
- dev
- main
# Run tests for any PRs.
pull_request:
env:
IMAGE_NAME: mosquitto
jobs:
# Run tests.
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: |
if [ -f docker-compose.test.yml ]; then
docker-compose --file docker-compose.test.yml build
docker-compose --file docker-compose.test.yml run sut
else
docker build . --file Dockerfile
fi