Skip to content

Add patch for buggy OIDC providers #295

Add patch for buggy OIDC providers

Add patch for buggy OIDC providers #295

name: Build and Publish Docker Images
env:
VERSION: 2.20.1
PGVERSION: 15
DEBIANRELEASE: bookworm
DOCKERREVISION: 2
on:
push:
branches: [master,stable]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: build_and_test
run: ./build-all
env:
VERSION: ${{ env.VERSION }}-${{ env.DOCKERREVISION }}
build-and-push-pg:
needs: test
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-pg-database
- name: Build and push Docker image for pg
uses: docker/build-push-action@v4
with:
context: ./pg
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-pg-database:latest
yadd/lemonldap-ng-pg-database:${{ steps.date.outputs.date }}
yadd/lemonldap-ng-pg-database:${{ env.PGVERSION }}
yadd/lemonldap-ng-pg-database:${{ env.PGVERSION }}-${{ env.DEBIANRELEASE }}
- name: push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_PASSWORD }}
with:
destination_container_repo: yadd/lemonldap-ng-pg-database
provider: dockerhub
short_description: 'PostgreSQL database ready to use for LemonLDAP::NG'
readme_file: 'pg/README.md'
build-and-push-base:
runs-on: ubuntu-latest
needs: test
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-base
- name: Build and push Docker image for base
uses: docker/build-push-action@v4
with:
context: ./base
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-base:latest
yadd/lemonldap-ng-base:${{ steps.date.outputs.date }}
yadd/lemonldap-ng-base:${{ env.VERSION }}-${{ env.DOCKERREVISION }}
yadd/lemonldap-ng-base:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}
- name: push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_PASSWORD }}
with:
destination_container_repo: yadd/lemonldap-ng-base
provider: dockerhub
short_description: 'Base image for lemonldap-ng dockers'
readme_file: 'base/README.md'
build-and-push-portal:
needs: build-and-push-base
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-portal
- name: Build and push Docker image for portal
uses: docker/build-push-action@v4
with:
context: ./portal
build-args: |
BASE=yadd/lemonldap-ng-base:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-portal:latest
yadd/lemonldap-ng-portal:${{ steps.date.outputs.date }}
yadd/lemonldap-ng-portal:${{ env.VERSION }}-${{ env.DOCKERREVISION }}
yadd/lemonldap-ng-portal:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}
- name: push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_PASSWORD }}
with:
destination_container_repo: yadd/lemonldap-ng-portal
provider: dockerhub
short_description: 'LemonLDAP::NG Portal'
readme_file: 'portal/README.md'
build-and-push-portal-hiperf:
needs: build-and-push-base
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-portal
- name: Build and push Docker image for portal uWSGI
uses: docker/build-push-action@v4
with:
context: ./uwsgi-portal
build-args: |
BASE=yadd/lemonldap-ng-base:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-portal:latest-hiperf
yadd/lemonldap-ng-portal:${{ steps.date.outputs.date }}-hiperf
yadd/lemonldap-ng-portal:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-hiperf
yadd/lemonldap-ng-portal:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}-hiperf
build-and-push-cron:
needs: build-and-push-base
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-cron
- name: Build and push Docker image for cron
uses: docker/build-push-action@v4
with:
context: ./cron
build-args: |
BASE=yadd/lemonldap-ng-base:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-cron:latest
yadd/lemonldap-ng-cron:${{ steps.date.outputs.date }}
yadd/lemonldap-ng-cron:${{ env.VERSION }}-${{ env.DOCKERREVISION }}
yadd/lemonldap-ng-cron:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}
- name: push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_PASSWORD }}
with:
destination_container_repo: yadd/lemonldap-ng-cron
provider: dockerhub
short_description: 'LemonLDAP::NG maintenance tasks runner'
readme_file: 'cron/README.md'
build-and-push-cron-task:
needs: build-and-push-base
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-cron-task
- name: Build and push Docker image for cron task
uses: docker/build-push-action@v4
with:
context: ./cron-task
build-args: |
BASE=yadd/lemonldap-ng-base:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-cron-task:latest
yadd/lemonldap-ng-cron-task:${{ steps.date.outputs.date }}
yadd/lemonldap-ng-cron-task:${{ env.VERSION }}-${{ env.DOCKERREVISION }}
yadd/lemonldap-ng-cron-task:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}
- name: push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_PASSWORD }}
with:
destination_container_repo: yadd/lemonldap-ng-cron-task
provider: dockerhub
short_description: 'LemonLDAP::NG maintenance tasks runner'
readme_file: 'cron-task/README.md'
build-and-push-sessions-backup:
needs: build-and-push-base
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-sessions-backup
- name: Build and push Docker image for sessions-backup task
uses: docker/build-push-action@v4
with:
context: ./sessions-backup
build-args: |
BASE=yadd/lemonldap-ng-base:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-sessions-backup:latest
yadd/lemonldap-ng-sessions-backup:${{ steps.date.outputs.date }}
yadd/lemonldap-ng-sessions-backup:${{ env.VERSION }}-${{ env.DOCKERREVISION }}
yadd/lemonldap-ng-sessions-backup:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}
- name: push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_PASSWORD }}
with:
destination_container_repo: yadd/lemonldap-ng-sessions-backup
provider: dockerhub
short_description: 'LemonLDAP::NG maintenance tasks runner'
readme_file: 'sessions-backup/README.md'
build-and-push-manager:
needs: build-and-push-base
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-manager
- name: Build and push Docker image for manager
uses: docker/build-push-action@v4
with:
context: ./manager
build-args: |
BASE=yadd/lemonldap-ng-base:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-manager:latest
yadd/lemonldap-ng-manager:${{ steps.date.outputs.date }}
yadd/lemonldap-ng-manager:${{ env.VERSION }}-${{ env.DOCKERREVISION }}
yadd/lemonldap-ng-manager:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}
- name: push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_PASSWORD }}
with:
destination_container_repo: yadd/lemonldap-ng-manager
provider: dockerhub
short_description: 'LemonLDAP::NG Manager'
readme_file: 'manager/README.md'
build-and-push-full:
needs: build-and-push-portal
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-full
- name: Build and push Docker image for full
uses: docker/build-push-action@v4
with:
context: ./full
build-args: |
PORTALBASE=yadd/lemonldap-ng-portal:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-full:latest
yadd/lemonldap-ng-full:${{ steps.date.outputs.date }}
yadd/lemonldap-ng-full:${{ env.VERSION }}-${{ env.DOCKERREVISION }}
yadd/lemonldap-ng-full:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}
- name: push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_PASSWORD }}
with:
destination_container_repo: yadd/lemonldap-ng-full
provider: dockerhub
short_description: 'LemonLDAP::NG Portal and Manager'
readme_file: 'full/README.md'
build-and-push-ssoaas-fastcgi-server:
needs: build-and-push-base
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-ssoaas-fastcgi-server
- name: Build and push Docker image for SSOaaS FastCGI Server
uses: docker/build-push-action@v4
with:
context: ./ssoaas-fastcgi-server
build-args: |
BASE=yadd/lemonldap-ng-base:latest
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-ssoaas-fastcgi-server:latest
yadd/lemonldap-ng-ssoaas-fastcgi-server:${{ steps.date.outputs.date }}
yadd/lemonldap-ng-ssoaas-fastcgi-server:${{ env.VERSION }}-${{ env.DOCKERREVISION }}
yadd/lemonldap-ng-ssoaas-fastcgi-server:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}
- name: push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_PASSWORD }}
with:
destination_container_repo: yadd/lemonldap-ng-ssoaas-fastcgi-server
provider: dockerhub
short_description: 'LemonLDAP::NG SSOaaS FastCGI Server'
readme_file: 'ssoaas-fastcgi-server/README.md'
build-and-push-dev:
needs: build-and-push-full
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d')"
- name: Test with environment variables
run: echo $TAG_NAME
env:
TAG_NAME: |
latest
${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ steps.date.outputs.date }}
${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ steps.date.outputs.date }}-${{ env.DEBIANRELEASE }}
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-dev
- name: Build and push Docker image for dev
uses: docker/build-push-action@v4
with:
context: ./dev
push: true
tags: |
yadd/lemonldap-ng-dev:latest
yadd/lemonldap-ng-dev:${{ steps.date.outputs.date }}
yadd/lemonldap-ng-dev:${{ env.DEBIANRELEASE }}
build-and-push-base-no-s6:
runs-on: ubuntu-latest
needs: test
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-base
- name: Build and push Docker image for base
uses: docker/build-push-action@v4
with:
context: ./base-no-s6
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-base:latest-no-s6
yadd/lemonldap-ng-base:${{ steps.date.outputs.date }}-no-s6
yadd/lemonldap-ng-base:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-no-s6
yadd/lemonldap-ng-base:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}-no-s6
build-and-push-portal-no-s6:
needs: build-and-push-base-no-s6
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-portal
- name: Build and push Docker image for portal
uses: docker/build-push-action@v4
with:
context: ./portal
build-args: |
BASE=yadd/lemonldap-ng-base:latest-no-s6
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-portal:latest-no-s6
yadd/lemonldap-ng-portal:${{ steps.date.outputs.date }}-no-s6
yadd/lemonldap-ng-portal:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-no-s6
yadd/lemonldap-ng-portal:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}-no-s6
build-and-push-portal-hiperf-no-s6:
needs: build-and-push-base-no-s6
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-portal
- name: Build and push Docker image for portal uWSGI
uses: docker/build-push-action@v4
with:
context: ./uwsgi-portal
build-args: |
BASE=yadd/lemonldap-ng-base:latest-no-s6
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-portal:latest-no-s6-hiperf
yadd/lemonldap-ng-portal:${{ steps.date.outputs.date }}-no-s6-hiperf
yadd/lemonldap-ng-portal:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-no-s6-hiperf
yadd/lemonldap-ng-portal:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}-no-s6-hiperf
build-and-push-cron-no-s6:
needs: build-and-push-base-no-s6
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-cron
- name: Build and push Docker image for cron
uses: docker/build-push-action@v4
with:
context: ./cron
build-args: |
BASE=yadd/lemonldap-ng-base:latest-no-s6
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-cron:latest-no-s6
yadd/lemonldap-ng-cron:${{ steps.date.outputs.date }}-no-s6
yadd/lemonldap-ng-cron:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-no-s6
yadd/lemonldap-ng-cron:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}-no-s6
build-and-push-cron-task-no-s6:
needs: build-and-push-base-no-s6
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-cron-task
- name: Build and push Docker image for cron-task
uses: docker/build-push-action@v4
with:
context: ./cron-task
build-args: |
BASE=yadd/lemonldap-ng-base:latest-no-s6
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-cron-task:latest-no-s6
yadd/lemonldap-ng-cron-task:${{ steps.date.outputs.date }}-no-s6
yadd/lemonldap-ng-cron-task:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-no-s6
yadd/lemonldap-ng-cron-task:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}-no-s6
build-and-push-sessions-backup-no-s6:
needs: build-and-push-base-no-s6
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-sessions-backup
- name: Build and push Docker image for sessions-backup
uses: docker/build-push-action@v4
with:
context: ./sessions-backup
build-args: |
BASE=yadd/lemonldap-ng-base:latest-no-s6
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-sessions-backup:latest-no-s6
yadd/lemonldap-ng-sessions-backup:${{ steps.date.outputs.date }}-no-s6
yadd/lemonldap-ng-sessions-backup:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-no-s6
yadd/lemonldap-ng-sessions-backup:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}-no-s6
build-and-push-manager-no-s6:
needs: build-and-push-base-no-s6
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-manager
- name: Build and push Docker image for manager
uses: docker/build-push-action@v4
with:
context: ./manager
build-args: |
BASE=yadd/lemonldap-ng-base:latest-no-s6
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-manager:latest-no-s6
yadd/lemonldap-ng-manager:${{ steps.date.outputs.date }}-no-s6
yadd/lemonldap-ng-manager:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-no-s6
yadd/lemonldap-ng-manager:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}-no-s6
build-and-push-full-no-s6:
needs: build-and-push-portal-no-s6
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-full
- name: Build and push Docker image for full
uses: docker/build-push-action@v4
with:
context: ./full
build-args: |
PORTALBASE=yadd/lemonldap-ng-portal:latest-no-s6
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-full:latest-no-s6
yadd/lemonldap-ng-full:${{ steps.date.outputs.date }}-no-s6
yadd/lemonldap-ng-full:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-no-s6
yadd/lemonldap-ng-full:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}-no-s6
build-and-push-ssoaas-fastcgi-server-no-s6:
needs: build-and-push-base-no-s6
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: yadd/lemonldap-ng-ssoaas-fastcgi-server
- name: Build and push Docker image for SSOaaS FastCGI Server
uses: docker/build-push-action@v4
with:
context: ./ssoaas-fastcgi-server
build-args: |
BASE=yadd/lemonldap-ng-base:latest-no-s6
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/s390x
push: true
tags: |
yadd/lemonldap-ng-ssoaas-fastcgi-server:latest-no-s6
yadd/lemonldap-ng-ssoaas-fastcgi-server:${{ steps.date.outputs.date }}-no-s6
yadd/lemonldap-ng-ssoaas-fastcgi-server:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-no-s6
yadd/lemonldap-ng-ssoaas-fastcgi-server:${{ env.VERSION }}-${{ env.DOCKERREVISION }}-${{ env.DEBIANRELEASE }}-no-s6