Pushing only on main #9
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: Test Keycloak configuration | |
on: [push] | |
jobs: | |
test-keycloak-setup: | |
name: Ubuntu 22.04 test of nginx-keycloak | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check Out Repo | |
uses: actions/checkout@v2 | |
- name: docker compose build | |
run: | | |
docker compose build | |
- name: docker compose start | |
run: | | |
cp .env.example .env | |
docker compose up -d postgres keycloak | |
- name: Setup nginx-keycloak | |
run: | | |
bash ./scripts/configure-keycloak.sh | |
- name: docker compose down | |
run: | | |
docker compose down |