Skip to content

Run dublok/github.action.proxies #115032

Run dublok/github.action.proxies

Run dublok/github.action.proxies #115032

name: Run dublok/github.action.proxies
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
inputs:
reason:
description: 'The reason for running the workflow'
required: true
default: 'Manual run'
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Pull and Run Docker Container
run: |
docker pull dublok/github.action.proxies:latest
docker run --rm \
-e PRIVATE_KEY="${{ secrets.PRIVATE_KEY }}" \
-e GITHUB_REPO_URL="${{ secrets.GH_REPO_URL }}" \
-e GITHUB_BRANCH="${{ secrets.GH_BRANCH }}" \
-e GITHUB_TOKEN="${{ secrets.GH_TOKEN }}" \
dublok/github.action.proxies:latest