get.pme.sh/pnats@v0.0.0-20240304004023-26bb5a137ed0/.github/workflows/nightly.yaml (about) 1 name: Docker Nightly 2 on: 3 workflow_dispatch: 4 inputs: 5 target: 6 description: "Override image branch (optional)" 7 type: string 8 required: false 9 10 schedule: 11 - cron: "40 4 * * *" 12 13 jobs: 14 run: 15 runs-on: ubuntu-latest 16 steps: 17 - name: Checkout code 18 uses: actions/checkout@v4 19 with: 20 path: src/github.com/nats-io/nats-server 21 ref: ${{ inputs.target || 'main' }} 22 23 - uses: ./src/github.com/nats-io/nats-server/.github/actions/nightly-release 24 with: 25 go: "1.21" 26 workdir: src/github.com/nats-io/nats-server 27 label: nightly 28 hub_username: "${{ secrets.DOCKER_USERNAME }}" 29 hub_password: "${{ secrets.DOCKER_PASSWORD }}"