Files
runner-custom/.gitea/workflows/gitea-ci.yaml
Jérémie SALVI 27f4849b79
Some checks failed
Build and push runner-custom image / publish (push) Failing after 2m4s
Action: build custom image
2024-12-21 19:34:34 +01:00

19 lines
597 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 "${{ 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