Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitsakala committed Aug 1, 2023
1 parent 3b67e54 commit 4b6c314
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/regsync-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
if: github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'release-v2.7'
if: github.event.pull_request.base.ref == 'release-v2.7'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -23,12 +23,32 @@ jobs:
export CHARTS_BUILD_SCRIPT_VERSION=v0.4.2
make pull-scripts
make regsync
- name: Commit
run: |
git add regsync.yaml
git config --global user.name "Github Action RegSync"
git config --global user.email "github@action.com"
git commit -m "Updating regsync.yaml"
git branch
git status
echo $BRANCH_NAME
env:
GH_TOKEN: ${{ github.token }}
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}


- name: Install Regsync
run: |
curl --silent --fail --location --output regsync https://github.com/regclient/regclient/releases/download/v0.4.8/regsync-linux-amd64
chmod +x regsync
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
env:
GH_TOKEN: ${{ github.token }}

- name: Sync Images to Registry
run: |
head regsync.yaml
Expand Down

0 comments on commit 4b6c314

Please sign in to comment.