Advancing 0.18.3 release to status: released #1370
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: Validation | |
on: | |
pull_request: | |
# Unlabeled is needed when `dependent` label is removed, to re-validate the release. | |
types: [unlabeled, opened, synchronize, reopened] | |
permissions: {} | |
jobs: | |
yamls: | |
name: Release YAMLs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
with: | |
fetch-depth: 0 | |
- name: Validate release YAMLs | |
run: make validate | |
# This job runs the script in "dryrun" mode, not doing any changes to the repo. | |
# This should make sure the script at least works as intended (given a valid yaml). | |
release: | |
name: Dry-run the Release | |
needs: yamls | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
with: | |
fetch-depth: 0 | |
- name: Set up QEMU (to support building on non-native architectures) | |
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 | |
- name: Create the release in dry-run mode | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | |
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} | |
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} | |
run: make do-release DRY_RUN=true |