Fix : revert CI
release-tag / release-image (push) Failing after 40s

This commit is contained in:
2024-08-02 18:03:49 +02:00
parent aa4c6edc65
commit 7c93e14bfb
+15 -14
View File
@@ -15,22 +15,23 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
lfs: false lfs: true
persist-credentials: false ssh-key: ${{ secrets.RUNNER_SSH_PRIVATE_KEY }}
ssh-known-hosts: ${{ secrets.INSTANCE_SSH_PUBLIC_KEY }}
- name: setup private key # - name: setup private key
shell: bash # shell: bash
run: | # run: |
echo "${{ secrets.RUNNER_SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 # echo "${{ secrets.RUNNER_SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
chmod 400 ~/.ssh/id_ed25519 # chmod 400 ~/.ssh/id_ed25519
echo "{{ secrets.INSTANCE_SSH_PUBLIC_KEY }} > ~/.ssh/known_hosts" # echo "{{ secrets.INSTANCE_SSH_PUBLIC_KEY }} > ~/.ssh/known_hosts"
- name: git lfs pull # - name: git lfs pull
shell: bash # shell: bash
run: | # run: |
ssh-keyscan ${{ env.ENDPOINT }} >> ~/.ssh/known_hosts # ssh-keyscan ${{ env.ENDPOINT }} >> ~/.ssh/known_hosts
git remote set-url origin git@${{ env.ENDPOINT }}:${{ env.REPO_NAME }}.git # git remote set-url origin git@${{ env.ENDPOINT }}:${{ env.REPO_NAME }}.git
git lfs pull # git lfs pull
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v2 uses: docker/login-action@v2