Files
Image_downloader/.gitea/workflows/image_downloader_runner.yaml
T
pierre.geeraert 60bc4453de
image puller runner / Explore-Gitea-Actions (push) Failing after 5s
add the image downloader
2026-09-22 13:31:14 +01:00

53 lines
1.5 KiB
YAML

name: image puller runner
run-name: Pull and Push 🚀
on:
push:
workflow_dispatch: # Enables the manual run UI button
jobs:
Explore-Gitea-Actions:
env:
RUNNER_TOOL_CACHE: /toolcache
DEBUG: True
ALLOWED_HOSTS: "django.tryton.geeraert.eu"
NUMBERS: '1, 2, 3, 4, 5, 6, 7, 8, 9, 10'
container:
image: gitea.tryton.geeraert.eu/pi-ux-ce/custom-runner-debian-slim:1.0.6
volumes:
- act-toolcache:/opt/hostedtoolcache # this is where Runner store their cache default
runs-on: host-runner
steps:
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: 'Count from 1 to 10 with items from an environment variable'
uses: cliffano/command-loop-action@main
with:
items: ${{ env.NUMBERS }}
command: 'echo "Count $ITEM"'
- name: Check out repository code
uses: actions/checkout@v4
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- name: cat list
run: cat ${{ gitea.workspace }}/image_list.txt
- name: Login to gitea
uses: docker/login-action@v3
with:
registry: gitea.tryton.geeraert.eu
username: ${{ secrets.USERNAME_GITEA }}
password: ${{ secrets.PASSWORD_GITEA }}
# - name: Push image
# run: |
# docker push gitea.tryton.geeraert.eu/pi-ux-ce/django-python:latest
# docker push gitea.tryton.geeraert.eu/pi-ux-ce/django-python:${{ env.next_version }}