Skip to content

Latest commit

 

History

History
 
 

airbyte-keycloak

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Upgrading Keycloak Versions

This guide provides instructions on how to pull quay.io/keycloak/keycloak:21.1 image for amd64 and arm64 architectures, tag them, push them to your own repository, and create a multi-arch manifest.

We do so so we can mirror the image on the Airbyte repository and use it in our pull-through cache. This is useful for enhanced reliability - quay.io, Keycloak's official image registry, has had multiple outages in the past. Each time this happens, all build fail.

Steps

  1. Pull, tag and push the amd64 image. Change the version accordingly.

    docker pull --platform linux/amd64 quay.io/keycloak/keycloak:21.1
    docker tag quay.io/keycloak/keycloak:21.1 airbyte/mirrored-keycloak-amd:21.1
    docker push airbyte/mirrored-keycloak-amd:21.1
  2. Pull, tag and push the arm64 image. Change the version accordingly.

    docker pull --platform linux/arm64 quay.io/keycloak/keycloak:21.1
    docker tag quay.io/keycloak/keycloak:21.1 airbyte/mirrored-keycloak-arm:21.1
    docker push airbyte/mirrored-keycloak-arm:21.1
  3. Create a multi-arch manifest. This will create a new image airbyte/mirrored-keycloak:21.1 that will be a manifest of the two images above.

    docker manifest create airbyte/mirrored-keycloak:21.1 \
      --amend airbyte/mirrored-keycloak-amd:21.1 \
      --amend airbyte/mirrored-keycloak-arm:21.1
  4. Annotate the manifest with the two architectures. This tells Docker which image is associated with what architecture.

    docker manifest annotate airbyte/mirrored-keycloak:21.1 airbyte/mirrored-keycloak-amd:21.1 --arch amd64
    docker manifest annotate airbyte/mirrored-keycloak:21.1 airbyte/mirrored-keycloak-arm:21.1 --arch arm64
    
  5. Finally, push the manifest to the repository. You are done!

    docker manifest push airbyte/mirrored-keycloak:21.1