diff --git a/Dockerfile b/Dockerfile index c960236747..95e2617976 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app/ RUN pip install pipenv && \ pipenv lock -r > requirements.txt && \ - pipenv lock -rd > requirements-dev.txt + pipenv lock -r --dev-only > requirements-dev.txt # Stage 2: Build web API FROM openapitools/openapi-generator-cli as api-builder @@ -76,6 +76,7 @@ RUN apt-get update && \ COPY ./authentik/ /authentik COPY ./pyproject.toml / COPY ./xml /xml +COPY ./tests /tests COPY ./manage.py / COPY ./lifecycle/ /lifecycle COPY --from=builder /work/authentik /authentik-proxy diff --git a/outpost/azure-pipelines.yml b/outpost/azure-pipelines.yml index 7267e1acda..ce79cec3b5 100644 --- a/outpost/azure-pipelines.yml +++ b/outpost/azure-pipelines.yml @@ -78,6 +78,7 @@ stages: tags: | gh-$(branchName) gh-$(branchName)-$(timestamp) + gh-$(Build.SourceVersion) arguments: '--build-arg GIT_BUILD_HASH=$(Build.SourceVersion)' - task: Docker@2 inputs: @@ -87,6 +88,7 @@ stages: tags: | gh-$(branchName) gh-$(branchName)-$(timestamp) + gh-$(Build.SourceVersion) - job: ldap_build_docker pool: vmImage: 'ubuntu-latest' @@ -109,6 +111,7 @@ stages: tags: | gh-$(branchName) gh-$(branchName)-$(timestamp) + gh-$(Build.SourceVersion) arguments: '--build-arg GIT_BUILD_HASH=$(Build.SourceVersion)' - task: Docker@2 inputs: @@ -118,3 +121,4 @@ stages: tags: | gh-$(branchName) gh-$(branchName)-$(timestamp) + gh-$(Build.SourceVersion) diff --git a/website/docs/installation/beta.mdx b/website/docs/installation/beta.mdx index ec64ba8e02..8f6f63b4ab 100644 --- a/website/docs/installation/beta.mdx +++ b/website/docs/installation/beta.mdx @@ -28,9 +28,11 @@ Afterwards, run the upgrade commands from the latest releasae notes. Add the following block to your `values.yml` file: ```yaml +authentik: + outposts: + docker_image_base: beryju.org/authentik/outpost-%(type)s:gh-%(build_hash)s image: name: beryju.org/authentik/server - name_outposts: beryju.org/authentik/outpost-%(type)s:gh-next tag: gh-next # pullPolicy: Always to ensure you always get the latest version pullPolicy: Always