Skip to content

Commit

Permalink
Add dso automatic sync job
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashbrnrd committed Sep 8, 2023
1 parent 6dfd1ef commit e2ef870
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/dso-automatic-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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"
2 changes: 1 addition & 1 deletion infra/kube/helm/values.dso.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ backend:
repository: harbor.apps.c6.numerique-interieur.com/mi-basegun-test/basegun-backend
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "3.2"
tag: use-rootless-dockerfiles
imagePullSecrets: []
podAnnotations: {}
podSecurityContext: {}
Expand Down

0 comments on commit e2ef870

Please sign in to comment.