Compare commits

...

7 Commits

Author SHA1 Message Date
6b5d769805 [switch ubuntu to debian node] 2025-05-13 22:29:16 +02:00
f70a3020fa [switch ubuntu to debian node] 2025-05-13 22:27:40 +02:00
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
3ed1f871f0 [toto] 2025-05-13 22:20:05 +02:00

View File

@@ -17,9 +17,9 @@ jobs:
# container: debian:bullseye # container: debian:bullseye
# runs-on: ubuntu-latest # runs-on: ubuntu-latest
# container: node:16-bullseye # container: node:16-bullseye
runs-on: ubuntu-runner runs-on: ubuntu-latest
container: container:
image: docker image: node:16
# container: # container:
# image: ${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_RUNNER }}:latest # image: ${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_RUNNER }}:latest
# credentials: # credentials:
@@ -30,9 +30,14 @@ jobs:
steps: steps:
- name: Show Information - name: Show Information
run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}" 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 - name: clone & build
run: | run: |
git clone https://${{ secrets.PACKAGE_RW }}:${{ vars.GIT_USER_REPO }}@${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.GIT_REPO }}.git
cd ${{ env.GIT_REPO }} cd ${{ env.GIT_REPO }}
pwd pwd
echo "sed -i "s/^FROM .*/FROM node:18/" /workspace/${{ vars.GIT_USER_REPO }}/gitea-runner/${{ env.GIT_REPO }}/Dockerfile" echo "sed -i "s/^FROM .*/FROM node:18/" /workspace/${{ vars.GIT_USER_REPO }}/gitea-runner/${{ env.GIT_REPO }}/Dockerfile"