Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Watch velocity release #4724

Watch velocity release

Watch velocity release #4724

on:
push: {}
pull_request:
branches:
- main
schedule:
- cron: "0 * * * *"
name: Watch velocity release
jobs:
watch-releases:
name: Watch velocity release
runs-on: ubuntu-latest
env:
DRY_RUN: ${{ github.ref_name != 'main' }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: '1.18.2'
check-latest: true
cache: true
- name: Run discover script
run: go run github.com/dockcenter/velocity/cmd/discover
- name: Dispatch 'Build and push Docker image' workflow
run: scripts/dispatch.sh
env:
GITHUB_TOKEN: ${{ secrets.PAT }}