Skip to content

change(diario-professor/controller): tag diarios-professores #5

change(diario-professor/controller): tag diarios-professores

change(diario-professor/controller): tag diarios-professores #5

name: Continuos Deployment - docs/npm/api-client-fetch
on:
push:
branches:
- development
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
cd_build_push:
name: "Build and Push"
runs-on: ubuntu-latest
environment:
name: docs-npm-client-fetch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-build
cancel-in-progress: false
steps:
- uses: ladesa-ro/esteira-ci-cd/actions/prepare-images-builder@main
with:
setup-qemu: "false"
push-image: "true"
push-image-registry-url: ${{ secrets.REGISTRY_URL }}
push-image-registry-username: ${{ secrets.REGISTRY_USERNAME }}
push-image-registry-token: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push @ladesa-ro/api-client-fetch-docs
uses: ladesa-ro/esteira-ci-cd/actions/image-build-push@main
with:
image-tag: ${{ github.ref_name }}
image-name: ${{ vars.IMAGE_NAME }}
build-image: "true"
build-target-tag: "npm-api-client-fetch-docs"
push-image: "true"
push-image-registry-url: ${{ secrets.REGISTRY_URL }}
cd_deploy:
name: Deploy to Cluster
runs-on: deploy
needs: [cd_build_push]
environment:
name: docs-npm-client-fetch
url: ${{ vars.DEPLOY_URL }}
steps:
- uses: actions/checkout@v4
- uses: ladesa-ro/esteira-ci-cd/actions/deploy-k8s-stakater-application@main
with:
helm-values: ${{ vars.DEPLOY_HELM_VALUES }}
deployment: ${{ vars.K8S_DEPLOYMENT }}
namespace: ${{ vars.K8S_NAMESPACE }}
helm-release-name: ${{ vars.K8S_DEPLOYMENT }}
helm-release-extra-options: "--values=./.devops/docs-npm-api-client-fetch/values.common.yml"