Equinix cloud package update from Equinix Metal #655
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: build-ee-pr | |
on: | |
pull_request: | |
paths: | |
- tools/execution_environments/ee-multicloud-public/** | |
jobs: | |
build-and-push: | |
concurrency: | |
group: pr-${{ github.event.number }} | |
cancel-in-progress: true | |
uses: ./.github/workflows/build-ee.yml | |
secrets: | |
registry_username: ${{ secrets.QUAY_EE_MULTICLOUD_USER }} | |
registry_password: ${{ secrets.QUAY_EE_MULTICLOUD_TOKEN }} | |
with: | |
tag: temporary-pr-${{ github.event.number }} | |
labels: |- | |
quay.expires-after=7d | |
org.opencontainers.image.source=${{ github.event.repository.html_url }} | |
org.opencontainers.image.revision=${{ github.sha }} | |
get-stats-and-comment: | |
name: Get stats and diff for the new image | |
runs-on: ubuntu-latest | |
needs: | |
- build-and-push | |
permissions: | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run compare.sh | |
env: | |
PR: ${{ github.event.number }} | |
GH_TOKEN: ${{ github.token }} | |
working-directory: tools/execution_environments/ee-multicloud-public | |
run: | | |
./compare.sh \ | |
quay.io/agnosticd/ee-multicloud:latest \ | |
quay.io/agnosticd/ee-multicloud:temporary-pr-${PR} \ | |
| gh pr comment ${PR} --body-file - |