Compare commits

...

1 Commits
1.4 ... 1.5

Author SHA1 Message Date
c6c04ea72c tezr 2023-11-19 14:38:54 +01:00

View File

@@ -13,11 +13,23 @@ jobs:
# see on runner /data/.runner to add label (test => test:docker://debian:bullseye) # see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
runs-on: test runs-on: test
container: debian:bullseye container: debian:bullseye
# runs-on: ubuntu-latest
# container: node:16-bullseye
steps: steps:
- name: Print version and repository - name: Print version and repository
run: echo "Runner working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}" run: echo "Runner working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
- name: Install nodejs for github action
run: |
apt-get -y install node
- name: Git clone private repo
uses: actions/checkout@v4
with:
repository: ${{ gitea.repository }}
token: ${{ secrets.ACCESS_TOKEN_GIT }}
- name: Install Docker engine - name: Install Docker engine
run: | run: |
apt-get update apt-get update
@@ -29,11 +41,11 @@ jobs:
apt-get update apt-get update
apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin
- name: Git clone private repo # - name: Git clone private repo
uses: actions/checkout@v4 # uses: actions/checkout@v4
with: # with:
repository: ${{ gitea.repository }} # repository: ${{ gitea.repository }}
token: ${{ secrets.ACCESS_TOKEN_GIT }} # token: ${{ secrets.ACCESS_TOKEN_GIT }}
- name: Login to docker private registry - name: Login to docker private registry
uses: docker/login-action@v3 uses: docker/login-action@v3