Skip to content

Commit

Permalink
Change to regsync once
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypertrophik committed Jun 22, 2023
1 parent 15f3a61 commit 0aac43e
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/regsync-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,19 @@
name: Generate-Regsync-Config

on:
push:
branches:
- "eio-regsync-testing"
# Commented out for testing in the eio-regsync-testing branch
# pull_request_review:
# types: [submitted, edited]
pull_request_review:
types: [submitted, edited]

jobs:
build:
# if: github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'release-v2.7'
if: github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'release-v2.7'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

# Need to remove export version once rancher/charts gets the latest version
# of charts-build-script binary.

- name: Generate Regsync
run: |
export CHARTS_BUILD_SCRIPT_VERSION=v0.4.2
Expand All @@ -35,7 +32,7 @@ jobs:
- name: Sync Charts
run: |
head regsync.yaml
time ./regsync check --config regsync.yaml
time ./regsync once --config regsync.yaml
env:
REGISTRY_ENDPOINT: ${{ secrets.REGISTRY_ENDPOINT }}
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
Expand Down

0 comments on commit 0aac43e

Please sign in to comment.