fix: disable ssl4
This commit is contained in:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -7,9 +7,12 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Заставляем задачу выполняться сразу внутри контейнера с Node.js 18
|
|
||||||
container: node:18-alpine
|
container: node:18-alpine
|
||||||
steps:
|
steps:
|
||||||
|
# Устанавливаем git прямо внутрь контейнера alpine
|
||||||
|
- name: Install Git
|
||||||
|
run: apk add --no-cache git
|
||||||
|
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
|
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
|
||||||
|
|
||||||
@@ -24,6 +27,9 @@ jobs:
|
|||||||
needs: lint
|
needs: lint
|
||||||
container: node:18-alpine
|
container: node:18-alpine
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Git
|
||||||
|
run: apk add --no-cache git
|
||||||
|
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
|
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
|
||||||
|
|
||||||
@@ -37,9 +43,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: test
|
needs: test
|
||||||
steps:
|
steps:
|
||||||
|
# На этапе сборки докера контейнер node не используется, git ставим стандартным apt, если нужен
|
||||||
|
- name: Install Git on Host
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y git
|
||||||
|
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
|
run: git clone https://iux-gitea.myddns.me/24_LitvintsevaVD/docker_lab.git .
|
||||||
|
|
||||||
# Здесь контейнер не нужен, так как собираем сам Docker-образ
|
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
run: docker build -t docker_lab:latest .
|
run: docker build -t docker_lab:latest .
|
||||||
|
|||||||
Reference in New Issue
Block a user