Compare commits
2 Commits
0.0.52-pok
...
0.0.55-pok
| Author | SHA1 | Date | |
|---|---|---|---|
| 03e83f50d9 | |||
| 0d3e6c93f4 |
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user