Skip to content

Commit

Permalink
Adiciona etapa de deploy no ambiente mapas-homolog
Browse files Browse the repository at this point in the history
  • Loading branch information
willowmagrini committed Feb 6, 2025
1 parent bde1ceb commit 9c8a5dd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,20 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

-
name: Configure kubectl
uses: azure/setup-kubectl@v3
with:
version: 'latest'

-
name: Configure Kubernetes credentials
uses: azure/k8s-set-context@v3
with:
kubeconfig: ${{ secrets.KUBE_CONFIG }}

-
name: Deploy to Kubernetes
run: |
# Atualiza a imagem do deployment no Kubernetes
kubectl set image deployment/mapasculturais mapas=docker.io/hacklab/mapasculturais:${{ steps.tag.outputs.tag }} --namespace=mapas-homolog

0 comments on commit 9c8a5dd

Please sign in to comment.