Initiating release of 0.17.4 #1344
Workflow file for this run
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@b4ffde65f46336ab88eb53be808477a3936bae11 | |
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@b4ffde65f46336ab88eb53be808477a3936bae11 | |
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 |