Compare commits

...

2 Commits

Author SHA1 Message Date
03e83f50d9 [ubuntu] 2025-05-13 22:37:19 +02:00
0d3e6c93f4 [ubuntu] 2025-05-13 22:31:09 +02:00

View File

@@ -17,9 +17,9 @@ jobs:
# container: debian:bullseye
# runs-on: ubuntu-latest
# container: node:16-bullseye
runs-on: ubuntu-latest
runs-on: ubuntu-runner
container:
image: node:16
image: docker
# container:
# image: ${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_RUNNER }}:latest
# credentials:
@@ -30,14 +30,9 @@ 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 }}:x-oauth-basic@${{ 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"