This commit is contained in:
2023-11-19 14:50:17 +01:00
parent df18b23f88
commit d7cdb6be9d

View File

@@ -11,27 +11,27 @@ on:
jobs:
build-push-docker-image:
# 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:
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 and dnsutils (dig)for github action
- name: Install nodejs and dnsutils and git for github action
run: |
apt-get update
apt-get -y install nodejs dnsutils
apt-get -y install nodejs dnsutils git
- name: Git clone private repo
- 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
run: |
apt-get update
apt-get -y install ca-certificates curl gnupg