CI : fix
This commit is contained in:
@@ -2,6 +2,8 @@ name: release-tag
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
tags:
|
||||||
|
- "**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-image:
|
release-image:
|
||||||
@@ -15,23 +17,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: false
|
||||||
ssh-key: ${{ secrets.RUNNER_SSH_PRIVATE_KEY }}
|
persist-credentials: false
|
||||||
ssh-known-hosts: ${{ secrets.INSTANCE_SSH_PUBLIC_KEY }}
|
|
||||||
|
|
||||||
# - name: setup private key
|
- name: LFS Checkout
|
||||||
# shell: bash
|
shell: bash
|
||||||
# run: |
|
run: |
|
||||||
# echo "${{ secrets.RUNNER_SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
git remote set-url origin https://${{ env.ENDPOINT }}/${{ env.REPO_NAME }}.git
|
||||||
# chmod 400 ~/.ssh/id_ed25519
|
git lfs pull
|
||||||
# echo "{{ secrets.INSTANCE_SSH_PUBLIC_KEY }} > ~/.ssh/known_hosts"
|
|
||||||
|
|
||||||
# - name: git lfs pull
|
|
||||||
# shell: bash
|
|
||||||
# run: |
|
|
||||||
# ssh-keyscan ${{ env.ENDPOINT }} >> ~/.ssh/known_hosts
|
|
||||||
# git remote set-url origin git@${{ env.ENDPOINT }}:${{ env.REPO_NAME }}.git
|
|
||||||
# git lfs pull
|
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user