refactor: move aws marketplace implementation to this repo (#8) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "AWS Marketplace | Mirror: Keycloak" | |
on: | |
workflow_dispatch: | |
inputs: | |
imageTag: | |
description: "The image tag for the keycloak image" | |
required: true | |
# renovate: datasource=docker depName=bitnami/keycloak | |
default: 22.0.5 | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/aws-marketplace-keycloak.yaml' | |
jobs: | |
build: | |
permissions: | |
id-token: write | |
contents: read | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/aws-marketplace-ecr-login | |
with: | |
aws-role-arn: "arn:aws:iam::${{ secrets.DISTRO_CI_AWS_MPLACE_AWS_ACCOUNT_ID }}:role/GitHubAction-AssumeRoleWithAction" | |
aws-region: "us-east-1" | |
- name: web modeler restapi | |
uses: ./.github/actions/aws-marketplace-ecr-mirror | |
with: | |
from: bitnami/keycloak:${{ inputs.imageTag }} | |
to: ${{ env.MARKETPLACE_BASE_URL }}/camunda/camunda8/keycloak:${{ inputs.imageTag }} | |