From d1761800c08e1d412686bdbcf27433fc8b16abc1 Mon Sep 17 00:00:00 2001 From: Lino Silva Date: Mon, 14 Oct 2024 23:03:49 +0100 Subject: [PATCH] Fixed actions --- .gitea/workflows/build-and-publish.yaml | 52 ++++++++++++------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml index c034260..e61e7ec 100644 --- a/.gitea/workflows/build-and-publish.yaml +++ b/.gitea/workflows/build-and-publish.yaml @@ -1,27 +1,27 @@ -name: Build and publish -run-name: Build docker image and publish to registry -on: [push] +# 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: ${{ secrets.REGISTRY_PASS }} - - name: Push to registry - run: docker compose push \ No newline at end of file +# 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: ${{ secrets.REGISTRY_PASS }} +# - name: Push to registry +# run: docker compose push \ No newline at end of file