From 132293d234a5b217984fa9a66ce5b36baf42e751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Estev=C3=A3o?= Date: Fri, 2 Aug 2024 17:04:58 +0000 Subject: [PATCH] try to use PAT again --- .github/workflows/base-build.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/base-build.yml b/.github/workflows/base-build.yml index ec8d70d..aadc54c 100644 --- a/.github/workflows/base-build.yml +++ b/.github/workflows/base-build.yml @@ -38,8 +38,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - ssh-key: ${{ secrets.WORKFLOW_KEY }} + token: ${{ secrets.WORKFLOW_PAT }} - name: 'Update tags' run: | TAG=${{ github.run_id }} @@ -50,13 +49,6 @@ jobs: sed -i "s|\(FROM.*:\).*|\1${TAG}|" ./resources/docker/Dockerfile-devcontainer - name: Commit changes run: | - git remote -v - git remote set-url origin git@github.com:microsoft/farmvibes-ai.git - git remote -v - mkdir -p ~/.ssh/ - echo ${{ secrets.WORKFLOW_KEY }} >> ~/.ssh/id_rsa - chmod 400 ~/.ssh/id_rsa - ssh-keygen -y -f ~/.ssh/id_rsa git config --global user.email "farmvibesaicd@microsoft.com" git config --global user.name "FarmVibes.AI Release Pipeline" BRANCH=update-base-${{ github.run_id }}