Compare commits

...

6 Commits
1.4 ... 1.9

Author SHA1 Message Date
df18b23f88 zerze 2023-11-19 14:46:20 +01:00
da6f636c5f test 2023-11-19 14:43:51 +01:00
07596178fc lala 2023-11-19 14:42:41 +01:00
f9c335b5a7 azaz 2023-11-19 14:40:55 +01:00
9b6976d758 L'ANNNNEEEE 2023-11-19 14:39:34 +01:00
c6c04ea72c tezr 2023-11-19 14:38:54 +01:00

View File

@@ -9,19 +9,32 @@ on:
- '*'
jobs:
docker:
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: 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
run: |
apt-get update
apt-get -y install nodejs dnsutils
- 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
apt-get -y install ca-certificates curl gnupg dnsutils
apt-get -y install ca-certificates curl gnupg
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpg
@@ -29,11 +42,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