@@ -1,5 +1,5 @@
|
|||||||
name: Run price sync
|
name: Build and publish
|
||||||
run-name: Run price sync
|
run-name: Build docker image and publish to registry
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -8,14 +8,13 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: catthehacker/ubuntu:act-latest
|
image: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Login to the Container registry
|
- uses: https://github.com/actions/checkout@v4
|
||||||
uses: docker/login-action@v2
|
- name: Use Node.js
|
||||||
|
uses: https://github.com/actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
registry: gitea.lino.cooking
|
node-version: '20.18'
|
||||||
username: lino-authelia
|
- run: node index.mjs
|
||||||
password: ${{ secrets.REGISTRY_PASS }}
|
name: Run app
|
||||||
- name: Run container
|
|
||||||
run: docker run gitea.lino.cooking/lino-authelia/bpi-stock-price-scraper:latest
|
|
||||||
env:
|
env:
|
||||||
GHOSTFOLIO_SECURITY_TOKEN: ${{ secrets.GHOSTFOLIO_SECURITY_TOKEN }}
|
GHOSTFOLIO_SECURITY_TOKEN: ${{ secrets.GHOSTFOLIO_SECURITY_TOKEN }}
|
||||||
GHOSTFOLIO_HOST: ${{ secrets.GHOSTFOLIO_HOST }}
|
GHOSTFOLIO_HOST: ${{ secrets.GHOSTFOLIO_HOST }}
|
||||||
Reference in New Issue
Block a user