Compare commits

..

No commits in common. "e8cab566ebdbbfcda5be50ca1f55305205d2ba49" and "5f2f76bb10f670c05dad14803c1a138572994281" have entirely different histories.

1 changed files with 9 additions and 6 deletions

View File

@ -4,12 +4,6 @@ on:
push:
branches: [ main ]
# Variables globales appliquées automatiquement à toutes les étapes
env:
DOCKER_HOST: tcp://localhost:2376
DOCKER_CERT_PATH: /certs/client
DOCKER_TLS_VERIFY: "1"
jobs:
build-and-push-runner:
name: Build & Publish Runner Image to Giteastry
@ -19,13 +13,22 @@ jobs:
uses: actions/checkout@v4
- name: Authentification Giteastry
env:
DOCKER_HOST: tcp://localhost:2376
DOCKER_TLS_VERIFY: "0"
run: |
echo "${{ secrets.GITEA_TOKEN }}" | docker login git.gorym.net -u ${{ gitea.actor }} --password-stdin
- name: Build Image Runner
env:
DOCKER_HOST: tcp://localhost:2376
DOCKER_TLS_VERIFY: "0"
run: |
docker build -t git.gorym.net/rym/devsecops-runner:latest .
- name: Push vers Giteastry
env:
DOCKER_HOST: tcp://localhost:2376
DOCKER_TLS_VERIFY: "0"
run: |
docker push git.gorym.net/rym/devsecops-runner:latest