Use offical caddy container, keep certs in anonymous internal volume #34
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- '**' # This will run the workflow on every push to any branch | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build images | |
run: make docker | |
- name: Launch gateway and create link on gateway | |
run: make link-ci GATEWAY=gateway-sshd FQDN=app.example.com EXPOSE=app:3000 | |
#- name: Ensure link works by making request to app.example.com | |
# run: curl --resolve app.example.com:443:127.0.0.1 http://app.example.com:443 | |
# need to redirect compose snippet into link.yaml (done) | |
- name: Cleanup | |
run: docker compose -f ./ci/docker-compose.yaml down |