fix(ci): pass add-host 2 docker build for TLS validatiion

This commit is contained in:
Marc Lasserre 2026-08-26 19:43:48 +02:00
parent 619e4d27c5
commit ae18eba3d4
Signed by: M7s
GPG Key ID: F74837410959661B
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
name: Build & Push DevSecOps Runner
name: Build & Publish DevSecOps Runner
on:
push:
@ -14,12 +14,12 @@ jobs:
- name: Authentification Giteastry
run: |
echo "${{ secrets.GITEA_TOKEN }}" | docker login 213.32.20.132 -u ${{ gitea.actor }} --password-stdin
echo "${{ secrets.GITEA_TOKEN }}" | docker login container.rym.local -u ${{ gitea.actor }} --password-stdin
- name: Build Image Runner
run: |
docker build -t 213.32.20.132/rym/devsecops-runner:latest .
docker build --add-host container.rym.local:213.32.20.132 -t container.rym.local/rym/devsecops-runner:latest .
- name: Push vers Giteastry
run: |
docker push 213.32.20.132/rym/devsecops-runner:latest
docker push container.rym.local/rym/devsecops-runner:latest