From 27f4849b79c3a9f96335a5ef756b61b339b7a169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20SALVI?= Date: Sat, 21 Dec 2024 19:34:34 +0100 Subject: [PATCH] Action: build custom image --- .gitea/workflows/gitea-ci.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml index c061d00..79ac5b0 100644 --- a/.gitea/workflows/gitea-ci.yaml +++ b/.gitea/workflows/gitea-ci.yaml @@ -8,12 +8,11 @@ jobs: if: gitea.ref == 'refs/heads/main' steps: - uses: actions/checkout@v4 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - run: echo "${{ secrets.ACCESS_TOKEN }}" - - run: pwd - - run: | - cd ${{ gitea.workspace }} - - run: | - pwd - run: | echo "${{ secrets.ACCESS_TOKEN }}" | docker login --username beastie --password-stdin https://git.unixyourbrain.org/ + - run: | + docker build -t git.unixyourbrain.org/beastie/runner-custom:latest . + - run: | + docker push git.unixyourbrain.org/beastie/runner-custom:latest . + - run: | + docker logout