Skip to content

re-order steps of workflows #1

re-order steps of workflows

re-order steps of workflows #1

Workflow file for this run

---
# desc: build container images, perform static tests then push
name: build-images
on:
push:
env:
SHOULD_WE_PUSH: false
# for the build and test phases, we use local ghcr.io registry, when the image is qualitified, it will be published to the
# docker.io registry in the publish-image workflow
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install if required common software tooling
uses: camunda/infra-global-github-actions/common-tooling@main
with:
java-enabled: false
yarn-enabled: false
# TODO: integrate QEMU in standard tooling
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
- name: Build image using Camunda docker build
uses: camunda/infra-global-github-actions/build-docker-image@main
with:
registry_host: ${{ env.REGISTRY }}
registry_username: ${{ github.actor }}
registry_password: ${{ secrets.GITHUB_TOKEN }}
image_name: camunda/keycloak-aws
#extra_tags: # TODO: add commit version
#build_args: # TODO: integrate commit infos etc
build_context: .
# TODO: modify this one to integrate "platforms"
#build_platforms: linux/amd64,linux/arm64
#docker_load: false # TODO: re-enabled, disabled due to a bug on multiarch