Compare commits
10 Commits
0.0.43-pok
...
0.0.52-pok
| Author | SHA1 | Date | |
|---|---|---|---|
| 6b5d769805 | |||
| f70a3020fa | |||
| 817640601b | |||
| 9ec137bb2f | |||
| 67449229c2 | |||
| b071c56b0b | |||
| 3ed1f871f0 | |||
| b1b247eae2 | |||
| 9c702d6a93 | |||
| 12d1e41abe |
@@ -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.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.GIT_REPO }}
|
|
||||||
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user