From ac273ef8d91f89e033ff6b7d9a91ce2f5166e8bd Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Mon, 27 Nov 2023 18:59:43 +0100 Subject: [PATCH] tmp Signed-off-by: Mathieu Tortuyaux --- .github/workflows/sync-calico-version.yml | 28 +++++++++++------------ 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/sync-calico-version.yml b/.github/workflows/sync-calico-version.yml index 0cfd05997..1ee8dbf66 100644 --- a/.github/workflows/sync-calico-version.yml +++ b/.github/workflows/sync-calico-version.yml @@ -22,28 +22,26 @@ jobs: steps: - name: Check out scripts uses: actions/checkout@v3 - - name: Update links to Tigera Operator manifest - id: update-links - run: .github/workflows/sync-calico-version.sh - - name: Create pull request - uses: peter-evans/create-pull-request@v4 - if: steps.update-links.outputs.UPDATE_NEEDED == 1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - branch: calico-update-${{ steps.update-links.outputs.CALICO_VERSION }} - title: Update calico to ${{ steps.update-links.outputs.CALICO_VERSION }} - commit-message: Update calico to ${{ steps.update-links.outputs.CALICO_VERSION }} - delete-branch: true + #- name: Update links to Tigera Operator manifest + # id: update-links + # run: .github/workflows/sync-calico-version.sh + #- name: Create pull request + # uses: peter-evans/create-pull-request@v4 + # if: steps.update-links.outputs.UPDATE_NEEDED == 1 + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + # branch: calico-update-${{ steps.update-links.outputs.CALICO_VERSION }} + # title: Update calico to ${{ steps.update-links.outputs.CALICO_VERSION }} + # commit-message: Update calico to ${{ steps.update-links.outputs.CALICO_VERSION }} + # delete-branch: true - name: Login to GitHub Container Registry (ghcr) - if: steps.update-links.outputs.UPDATE_NEEDED == 1 uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Mirror calico images to GHCR - if: steps.update-links.outputs.UPDATE_NEEDED == 1 env: - CALICO_VERSION: ${{ steps.update-links.outputs.CALICO_VERSION }} + CALICO_VERSION: v3.26.4 GHCR_ORG: ${{ inputs.ghcr_org }} run: .github/workflows/mirror-calico-images.sh "${GHCR_ORG:-flatcar}" "${CALICO_VERSION}"