Search new OCP V releases #126
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: Search new OCP V releases | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install skopeo | |
run: sudo apt-get install skopeo | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Publish tekton images and generate release manifests | |
env: | |
GH_TOKEN: ${{ secrets.ACTIONS_TOKEN }} | |
USERNAME: ${{ secrets.USERNAME }} | |
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }} | |
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }} | |
shell: bash | |
run: | | |
skopeo login -u "${{ secrets.REGISTRY_USERNAME }}" -p "${{ secrets.REGISTRY_PASSWORD }}" registry.redhat.io | |
./check-for-new-release.sh |