Compare commits

...

4 Commits

Author SHA1 Message Date
817640601b [aller la] 2025-05-13 22:26:09 +02:00
9ec137bb2f [aller la] 2025-05-13 22:24:37 +02:00
67449229c2 [aller la] 2025-05-13 22:22:55 +02:00
b071c56b0b [toto] 2025-05-13 22:22:10 +02:00

View File

@@ -17,7 +17,7 @@ jobs:
# container: debian:bullseye
# runs-on: ubuntu-latest
# container: node:16-bullseye
runs-on: ubuntu-runner
runs-on: node:16-bullseye
container:
image: docker
# container:
@@ -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.GIT_USER_REPO }}@${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.GIT_REPO }}.git
cd ${{ env.GIT_REPO }}
pwd
echo "sed -i "s/^FROM .*/FROM node:18/" /workspace/${{ vars.GIT_USER_REPO }}/gitea-runner/${{ env.GIT_REPO }}/Dockerfile"