Skip to content

fix: improve keycloak realm #39

fix: improve keycloak realm

fix: improve keycloak realm #39

Workflow file for this run

name: Build and Push Docker images
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
packages: write
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: copy env file
run: cp .env.example .env
- name: Build and push Docker images
run: |
docker-compose build
docker-compose push
- name: Cleanup
if: always()
run: docker logout