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
Share artifacts
Michał Rutkae8f60423062d
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.ymlindex ccaac7a80..0c9e2c464 100644--- a/.github/workflows/gradle.yml+++ b/.github/workflows/gradle.yml@@ -14,7 +14,7 @@ env:KEYCLOAK_PLATFORM: linux/amd64jobs:- image_deployment:+ image_keycloak:runs-on: ubuntu-latestneeds: [build]steps:@@ -35,11 +35,57 @@ jobs:run: echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKERHUB_USER }}" --password-stdin- name: build and push imagesrun: |- docker build --push --platform $PLATFORM -t openremote/deployment:latest deployment+ docker build --push --platform $KEYCLOAK_PLATFORM -t openremote/keycloak:latest keycloak++ image_proxy:+ runs-on: ubuntu-latest+ needs: [build]+ 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/proxy:latest proxy++ image_postgresql:+ runs-on: ubuntu-latest+ needs: [build]+ 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/postgresql:latest postgresql- image_manager:+ image_deployment_manager:runs-on: ubuntu-latest- needs: [build, image_deployment]+ needs: [build]steps:- uses: actions/checkout@v2@@ -57,8 +103,11 @@ jobs:run: echo ${{ steps.buildx.outputs.platforms }}- name: login to docker hubrun: echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKERHUB_USER }}" --password-stdin+ - name: Download build artifacts+ uses: actions/download-artifact@v2- name: build and push imagesrun: |+ docker build --push --platform $PLATFORM -t openremote/deployment:latest deploymentdocker build --push --platform $PLATFORM -t openremote/manager:latest manager/build/install/managerdocker build --push --platform $PLATFORM -t openremote/manager-swarm:latest -f manager/build/install/manager/swarm.Dockerfile manager/build/install/manager@@ -78,28 +127,21 @@ jobs:run: chmod +x gradlew- name: build with Gradlerun: ./gradlew installDist- - name: set up QEMU- uses: docker/setup-qemu-action@v1- with:- platforms: all- - name: install buildx- id: buildx- uses: docker/setup-buildx-action@v1+ - name: Share build artifacts+ uses: actions/upload-artifact@v2with:- 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/manager:latest manager/build/install/manager- ##docker build --push --platform $PLATFORM -t openremote/deployment:latest deployment- ##docker build --push --platform $PLATFORM -t openremote/manager-swarm:latest -f manager/build/install/manager/swarm.Dockerfile manager/build/install/manager- #docker build --push --platform $PLATFORM -t openremote/proxy:latest proxy- #docker build --push --platform $KEYCLOAK_PLATFORM -t openremote/keycloak:latest keycloak- #docker build --push --platform $PLATFORM -t openremote/postgresql:latest postgresql+ name: dist-build+ path: |+ ui/component/model/build+ ui/component/rest/build+ agent/build+ container/build+ manager/build+ deployment/build+ model/build+ client/build+ !dist/**/*.md+ retention-days: 1- name: run GitLab testingid: gitlabuses: wei/[email protected]