Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3a4c96f0dc | |||
| 13b7ccb1bf |
@ -76,7 +76,7 @@ jobs:
|
||||
env:
|
||||
DEJO_NODE_AWS_REGION: us-east-1
|
||||
AWS_ECR_REPOSITORY: dev-dejo/dejo-node
|
||||
DISABLE_DISCORD_NOTIFY: true
|
||||
DISABLE_DISCORD_NOTIFY: false
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
sha_short: ${{ needs.release.outputs.sha_short }}
|
||||
steps:
|
||||
@ -116,8 +116,8 @@ jobs:
|
||||
- name: Build and Push Backend
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: infrastructure
|
||||
file: infrastructure/Dockerfile
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
${{ secrets.DEV_DEJO_AWS_ECR_REGISTRY }}/${{ env.AWS_ECR_REPOSITORY }}:latest
|
||||
|
||||
@ -1,3 +1,10 @@
|
||||
# [1.3.0](https://git.dejodigital.com.br/dejo-core/dejo-node/compare/v1.2.0...v1.3.0) (2025-06-11)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* Alteração trigger deploy branch master para dev ([13b7ccb](https://git.dejodigital.com.br/dejo-core/dejo-node/commit/13b7ccb1bf718b16dcad3dd81fe4e8cb9dd2a31c))
|
||||
|
||||
# [1.2.0](https://git.dejodigital.com.br/dejo-core/dejo-node/compare/v1.1.0...v1.2.0) (2025-06-11)
|
||||
|
||||
|
||||
|
||||
@ -1,22 +0,0 @@
|
||||
# Dockerfile para o DEJO Node
|
||||
|
||||
FROM golang:1.23 as builder
|
||||
WORKDIR /app
|
||||
|
||||
# Copiar arquivos e instalar dependências
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
RUN go build -o dejo-node ./cmd/main.go
|
||||
|
||||
# Criar imagem final
|
||||
FROM debian:bullseye-slim
|
||||
WORKDIR /root/
|
||||
|
||||
COPY --from=builder /app/dejo-node ./dejo-node
|
||||
|
||||
# Definir variáveis de ambiente padrão
|
||||
ENV CONFIG_PATH="/config/config.yaml"
|
||||
|
||||
CMD ["./dejo-node"]
|
||||
Reference in New Issue
Block a user