This commit is contained in:
2023-11-19 14:38:54 +01:00
parent 591ae0c4e1
commit c6c04ea72c

View File

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