Skip to content

Add dso automatic sync job #1

Add dso automatic sync job

Add dso automatic sync job #1

name: Sync DSO gitlab repository
on:
push:
branches:
- main
- develop
- feature/adapt-infra-for-dso-env
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
run: curl \
-X POST \
--fail \
-F token=glptt-d4c40b4d02672a1edad35acd909b8f73d4a46fef \
-F ref=${{ github.GITHUB_REF_NAME }} \
-F variables[GIT_BRANCH_DEPLOY]=${{ github.GITHUB_REF_NAME }} \
-F variables[PROJECT_NAME]=${REPOSITORY_NAME} \
"https://gitlab.apps.c6.numerique-interieur.com/api/v4/projects/62/trigger/pipeline"