Run dublok/github.action.proxies #104898
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run dublok/github.action.proxies | |
on: | |
schedule: | |
- cron: '* * * * *' | |
workflow_dispatch: | |
inputs: | |
reason: | |
description: 'The reason for running the workflow' | |
required: true | |
default: 'Manual run' | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login | |
uses: docker/login-action@v2.1.0 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |
- name: Pull and Run | |
run: | | |
docker pull dublok/github.action.proxies:latest && | |
docker run --rm dublok/github.action.proxies:latest |