fix(ci): update files #12

Open
M7s wants to merge 5 commits from dev/m7s into main
2 changed files with 19 additions and 6 deletions

View File

@ -2,22 +2,35 @@ name: Build & Publish DevSecOps Runner
on:
push:
branches: [ main ]
env:
DOCKER_HOST: tcp://localhost:2375
branches:
- main
- dev/m7s
jobs:
build-and-push-runner:
name: Build & Publish Runner Image to Giteastry
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Diagnostic Docker
run: |
echo "=== ENV ==="
env | grep -i docker || true
echo "=== DOCKER VERSION ==="
docker version || true
echo "=== DOCKER INFO ==="
docker info || true
- name: Authentification Giteastry
run: |
echo "${{ secrets.GITEA_TOKEN }}" | docker login git.gorym.net -u ${{ gitea.actor }} --password-stdin
echo "${{ secrets.GITEA_TOKEN }}" | docker login git.gorym.net \
-u "${{ gitea.actor }}" \
--password-stdin
- name: Build Image Runner
run: |

View File

@ -1,5 +1,5 @@
# SOURCE INTERNE STRICTE (Giteastry)
FROM container.rym.local/mirror/alpine:3.19
FROM git.gorym.net/mirror/alpine:3.19
# Outillage pré-installé dans le runner central
RUN apk add --no-cache \