[aller la]
This commit is contained in:
@@ -30,9 +30,14 @@ jobs:
|
||||
steps:
|
||||
- name: Show Information
|
||||
run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
|
||||
- name: Git clone private repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ${{ vars.GIT_USER_REPO }}/${{ env.GIT_REPO }}
|
||||
ref: main
|
||||
token: ${{ secrets.REPOSITORY_RW }}
|
||||
- name: clone & build
|
||||
run: |
|
||||
git clone https://${{ secrets.REPOSITORY_RW }}@${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.GIT_REPO }}
|
||||
cd ${{ env.GIT_REPO }}
|
||||
pwd
|
||||
echo "sed -i "s/^FROM .*/FROM node:18/" /workspace/${{ vars.GIT_USER_REPO }}/gitea-runner/${{ env.GIT_REPO }}/Dockerfile"
|
||||
|
||||
Reference in New Issue
Block a user