Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

use nip.io

use nip.io #15

Workflow file for this run

name: authentik-testing-docker
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: compose - authentik ${{ matrix.authentik_version }} - proxy ${{ matrix.proxy }} - ${{ matrix.mode }}
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
authentik_version:
- 'stable'
- 'beta'
proxy:
# - 'nginx'
- 'traefik'
mode:
- 'forward_single'
# - 'forward_domain'
steps:
- uses: actions/checkout@v3
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
- name: Setup authentik
uses: goauthentik/action-setup-authentik@main
id: setup
with:
version: ${{ matrix.authentik_version }}
sentry_env: goauthentik-terraform-ci
- name: Start remaining containers
run: |
docker compose up -d
env:
AUTHENTIK_TOKEN: ${{ steps.setup.outputs.admin_token }}
AUTHENTIK_URL: ${{ steps.setup.outputs.http_url }}
working-directory: compose-${{ matrix.proxy }}-${{ matrix.mode }}
- name: Apply terraform config
run: |
terraform init
terraform apply -auto-approve -input=false
env:
AUTHENTIK_TOKEN: ${{ steps.setup.outputs.admin_token }}
AUTHENTIK_URL: ${{ steps.setup.outputs.http_url }}
working-directory: compose-${{ matrix.proxy }}-${{ matrix.mode }}