Skip to content

Merge pull request #9 from RightCrowd/feat/allow-overriding-of-reconc… #80

Merge pull request #9 from RightCrowd/feat/allow-overriding-of-reconc…

Merge pull request #9 from RightCrowd/feat/allow-overriding-of-reconc… #80

Workflow file for this run

name: Build and Publish operator image
on: push
jobs:
build-operator-image:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/rightcrowd/keycloak-realm-operator
tags: |
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}