First attempt to tink demo
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled

This commit is contained in:
Henrik Jess Nielsen
2026-05-22 18:30:59 +02:00
parent ba6d428a43
commit 26a16e3638
20 changed files with 1683 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
name: Build and Deploy
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to i80 registry
uses: docker/login-action@v3
with:
registry: registry.i80.dk
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: registry.i80.dk/moneycapp-tink-demo:latest
- name: Deploy to Nomad
env:
NOMAD_ADDR: ${{ secrets.NOMAD_ADDR }}
NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }}
run: |
curl -fsSL https://releases.hashicorp.com/nomad/1.8.0/nomad_1.8.0_linux_amd64.zip -o nomad.zip
unzip -q nomad.zip && chmod +x nomad
./nomad job run moneycapp-tink-demo.nomad