All checks were successful
Build and push runner-custom image / publish (push) Successful in 38s
23 lines
650 B
YAML
23 lines
650 B
YAML
name: Build and push runner-custom image
|
|
run-name: ${{ gitea.actor }} is runs ci pipeline
|
|
on:
|
|
push:
|
|
branch: main
|
|
schedule:
|
|
- cron: '*/5 * * * *'
|
|
|
|
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
|