100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Create keycloak.yml
Michał Rutkabc5da5b7f00c
diff --git a/.github/workflows/keycloak.yml b/.github/workflows/keycloak.ymlnew file mode 100644index 000000000..17617334a--- /dev/null+++ b/.github/workflows/keycloak.yml@@ -0,0 +1,38 @@+name: build keycloak Docker image and push to it dockerhub++# Controls when the action will run.+on:+ # Triggers the workflow on push or pull request events but only for the master branch+ push:+ branches: [ master ]+ paths:+ - keycloak/**++ # Allows you to run this workflow manually from the Actions tab+ workflow_dispatch:++env:+ PLATFORM: linux/amd64++jobs:+ image_keycloak:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v2+ - name: set up QEMU+ uses: docker/setup-qemu-action@v1+ with:+ platforms: all+ - name: install buildx+ id: buildx+ uses: docker/setup-buildx-action@v1+ with:+ version: latest+ install: true+ - name: available platforms+ run: echo ${{ steps.buildx.outputs.platforms }}+ - name: login to docker hub+ run: echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKERHUB_USER }}" --password-stdin+ - name: build and push images+ run: |+ docker build --push --platform $PLATFORM -t openremote/keycloak:latest keycloak