Fixed actions
Build and publish / build (push) Has been cancelled

This commit is contained in:
Lino Silva
2024-10-14 23:03:34 +01:00
parent 46ebcc041f
commit 9716c25377
+8 -9
View File
@@ -1,5 +1,5 @@
name: Run price sync
run-name: Run price sync
name: Build and publish
run-name: Build docker image and publish to registry
on: [push]
jobs:
@@ -8,14 +8,13 @@ jobs:
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Login to the Container registry
uses: docker/login-action@v2
- uses: https://github.com/actions/checkout@v4
- name: Use Node.js
uses: https://github.com/actions/setup-node@v3
with:
registry: gitea.lino.cooking
username: lino-authelia
password: ${{ secrets.REGISTRY_PASS }}
- name: Run container
run: docker run gitea.lino.cooking/lino-authelia/bpi-stock-price-scraper:latest
node-version: '20.18'
- run: node index.mjs
name: Run app
env:
GHOSTFOLIO_SECURITY_TOKEN: ${{ secrets.GHOSTFOLIO_SECURITY_TOKEN }}
GHOSTFOLIO_HOST: ${{ secrets.GHOSTFOLIO_HOST }}