Files
runner-custom/.gitea/workflows/gitea-ci.yaml
Jérémie SALVI 4e46157db3
All checks were successful
Build and push runner-custom image / publish (push) Successful in 18s
Action: build custom image
2024-12-21 19:31:38 +01:00

20 lines
614 B
YAML

name: Build and push runner-custom image
run-name: ${{ gitea.actor }} is runs ci pipeline
on: [ push ]
jobs:
publish:
runs-on: runner-custom
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/