Skip to content

fix(ui): sync commits (#109) #314

fix(ui): sync commits (#109)

fix(ui): sync commits (#109) #314

Workflow file for this run

name: Docker build and push
on:
push:
branches:
- "**"
tags:
- v[0-9]+.[0-9]+.[0-9]+
workflow_dispatch:
jobs:
# PREPARE (GENERATE ALL)
prepare_build:
uses: vxcontrol/soldr/.github/workflows/prepare_build.yml@master
prepare_build_prod:
uses: vxcontrol/soldr/.github/workflows/prepare_build_prod.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
secrets: inherit
# TESTS AND LINTERS
test_go:
uses: vxcontrol/soldr/.github/workflows/test-go.yml@master
needs: prepare_build
# BUILD BINARY
build_api:
uses: vxcontrol/soldr/.github/workflows/api-build.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: [test_go, prepare_build_prod]
build_web:
uses: vxcontrol/soldr/.github/workflows/web-build.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: [test_go, prepare_build_prod]
build_server:
uses: vxcontrol/soldr/.github/workflows/server-build.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: [test_go, prepare_build_prod]
build_agent_linux:
uses: vxcontrol/soldr/.github/workflows/agent-build-linux.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: [test_go, prepare_build_prod]
build_agent_windows:
uses: vxcontrol/soldr/.github/workflows/agent-build-windows.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: [ test_go, prepare_build_prod ]
build_agent_osx:
uses: vxcontrol/soldr/.github/workflows/agent-build-osx.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: [ test_go, prepare_build_prod ]
# BUILD DOCKER
build_docker_vxweb:
uses: vxcontrol/soldr/.github/workflows/build-docker-vxweb.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: build_web
secrets: inherit
build_docker_vxapi:
uses: vxcontrol/soldr/.github/workflows/build-docker-vxapi.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: build_api
secrets: inherit
build_docker_vxagent:
uses: vxcontrol/soldr/.github/workflows/build-docker-vxagent.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: build_agent_linux
secrets: inherit
build_docker_vxres:
uses: vxcontrol/soldr/.github/workflows/build-docker-vxres.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: [ build_installer_vxagent_linux, build_installer_vxagent_windows, build_installer_vxagent_osx ]
secrets: inherit
build_docker_vxserver:
uses: vxcontrol/soldr/.github/workflows/build-docker-vxserver.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: build_server
secrets: inherit
build_docker_vxdbmigrate:
uses: vxcontrol/soldr/.github/workflows/build-docker-dbmigrate.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: test_go
secrets: inherit
# BUILD INSTALLER OF AGENT
build_installer_vxagent_linux:
uses: vxcontrol/soldr/.github/workflows/build-installer-vxagent-linux.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: build_agent_linux
secrets: inherit
build_installer_vxagent_windows:
uses: vxcontrol/soldr/.github/workflows/build-installer-vxagent-windows.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: build_agent_windows
secrets: inherit
build_installer_vxagent_osx:
uses: vxcontrol/soldr/.github/workflows/build-installer-vxagent-osx.yml@master
if: github.ref_name == 'master' || startsWith(github.ref, 'refs/tags')
needs: build_agent_osx
secrets: inherit