Skip to content

feat: add new notifyResult variable to logs #30

feat: add new notifyResult variable to logs

feat: add new notifyResult variable to logs #30

name: ci
on:
push:
branches:
- 'coolify'
paths:
- package.json
- package-lock.json
- backend/**
- dashboard/**
- shared/**
- Dockerfile
- docker-compose.standalone.yml
- .github/workflows/**
jobs:
docker:
runs-on: ubuntu-24.04-arm
env:
COOLIFY_WEBHOOK: ${{ secrets.COOLIFY_WEBHOOK }}
COOLIFY_SECRET: ${{ secrets.COOLIFY_SECRET }}
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: ghcr.io/${{ github.repository }}
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=branch
type=sha
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/arm64 #,linux/amd64
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ steps.meta.outputs.tags }}
annotations: ${{ steps.meta.outputs.annotations }}
provenance: mode=max
sbom: true
- name: Deploy to Coolify
if: env.COOLIFY_WEBHOOK != '' && env.COOLIFY_SECRET != ''
run: |
curl --request GET "$COOLIFY_WEBHOOK" --header "Authorization: Bearer $COOLIFY_SECRET"
shell: bash