Skip to content

fix: update default realm and auth URL for production environment #33

fix: update default realm and auth URL for production environment

fix: update default realm and auth URL for production environment #33

Workflow file for this run

name: CD
on:
push:
branches: ["main"]
env:
REGISTRY: ghcr.io
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ghcr.io/solvro/solvro-auth:latest
cache-from: type=registry,ref=ghcr.io/solvro/solvro-auth:latest
cache-to: type=inline
network: host