Files
bpi-stock-price-scraper/.gitea/workflows/build-and-publish.yaml
T
Lino Silva 06400d276e
Build and publish / build (push) Failing after 1m17s
actions
2024-10-14 22:47:34 +01:00

27 lines
844 B
YAML

name: Build and publish
run-name: Build docker image and publish to registry
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- uses: https://github.com/actions/checkout@v4
- name: Use Node.js
uses: https://github.com/actions/setup-node@v3
with:
node-version: '20.18'
- run: docker compose build
# env:
# GHOSTFOLIO_SECURITY_TOKEN: ${{ secrets.GHOSTFOLIO_SECURITY_TOKEN }}
# GHOSTFOLIO_HOST: ${{ secrets.GHOSTFOLIO_HOST }}
- name: Login to the Container registry
uses: docker/login-action@v2
with:
registry: gitea.lino.cooking
username: lino-authelia
password: ${{ REGISTRY_PASS }}
- name: Push to registry
run: docker compose push