Skip to content

Update lookup.ts

Update lookup.ts #45

Workflow file for this run

# For more details, read this: https://coolify.io/docs/git-providers/github/github-actions
name: Deploy to Coolify
on:
push:
branches: ['main']
env:
REGISTRY: ghcr.io
IMAGE_NAME: 'aelew/lookup.tools'
jobs:
aarch64:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Login to ghcr.io
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: linux/aarch64
- name: Build image and push to registry
uses: docker/build-push-action@v5
with:
context: .
push: true
file: Dockerfile
platforms: linux/aarch64
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
- name: Trigger Coolify deployment
run: |
curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'