Files
runner-custom/.gitea/workflows/gitea-ci.yaml
Jérémie SALVI 6b702ba3cb
All checks were successful
Build and push runner-custom image / Explore-Gitea-Actions (push) Successful in 2m32s
Test actions
2024-12-22 02:04:24 +01:00

26 lines
703 B
YAML

name: Build and push runner-custom image
run-name: ${{ gitea.actor }} is runs gitea-ci.yaml
on:
push:
branches:
- main
schedule:
- cron: '0 0 * * *'
jobs:
Explore-Gitea-Actions:
runs-on: runner-custom
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: |
docker build -t git.unixyourbrain.org/beastie/runner-custom:latest .
- run: |
echo "${{ secrets.ACCESS_TOKEN }}" | \
docker login --username beastie --password-stdin \
https://git.unixyourbrain.org/
- run: |
docker push git.unixyourbrain.org/beastie/runner-custom:latest
- run: |
docker logout