diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml index 9673146..2796742 100644 --- a/.gitea/workflows/build-and-publish.yaml +++ b/.gitea/workflows/build-and-publish.yaml @@ -14,6 +14,14 @@ jobs: with: node-version: '20.18' - run: docker compose build - env: - GHOSTFOLIO_SECURITY_TOKEN: ${{ secrets.GHOSTFOLIO_SECURITY_TOKEN }} - GHOSTFOLIO_HOST: ${{ secrets.GHOSTFOLIO_HOST }} + # 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 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index b7f9f83..5e8c424 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,9 @@ services: scraper: - image: bpi-stock-price-scraper + image: gitea.lino.cooking/lino-authelia/bpi-stock-price-scraper environment: - - GHOSTFOLIO_SECURITY_TOKEN=${GHOSTFOLIO_SECURITY_TOKEN} # here it is! - - GHOSTFOLIO_HOST=${GHOSTFOLIO_HOST} # here it is! + - GHOSTFOLIO_SECURITY_TOKEN=${GHOSTFOLIO_SECURITY_TOKEN} + - GHOSTFOLIO_HOST=${GHOSTFOLIO_HOST} build: context: . dockerfile: Dockerfile