From d47a36c4bbcc4f2b0850ba8e394691616ad14360 Mon Sep 17 00:00:00 2001 From: Jacques ROUSSEL Date: Mon, 10 Jun 2024 15:23:25 +0200 Subject: [PATCH] improve submodule --- .github/workflows/docker-build.yaml | 2 +- .gitmodules | 7 +++---- .github/workflows/secrets => secrets | 0 3 files changed, 4 insertions(+), 5 deletions(-) rename .github/workflows/secrets => secrets (100%) diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index 94ef814..c61e91f 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -63,7 +63,7 @@ jobs: name: Load sops secrets uses: rouja/actions-sops@main with: - secret-file: .github/workflows/secrets/numerique-gouv/dockerfiles/secrets.enc.env + secret-file: secrets/numerique-gouv/dockerfiles/secrets.enc.env age-key: ${{ secrets.SOPS_PRIVATE }} - name: Login to DockerHub diff --git a/.gitmodules b/.gitmodules index 39730a1..0846cc2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,3 @@ -[submodule ".github/workflows/secrets"] - path = .github/workflows/secrets - url = https://github.com/numerique-gouv/secrets.git - branch = main +[submodule "secrets"] + path = secrets + url = ../secrets diff --git a/.github/workflows/secrets b/secrets similarity index 100% rename from .github/workflows/secrets rename to secrets