From f04c8ce4718836547d1156cab08e3d62cda14a32 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Mon, 1 Jul 2024 19:35:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(secret)=20update=20secret=20reposi?= =?UTF-8?q?tory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @rouja secrets management relies on a central repository, which manages all numerique-gouv secrets. I have created a new subfolder in its "numerique-gouv/secret" repository to store all update key/credentials related to the Meet project. --- .github/workflows/docker-hub.yml | 12 ++++++------ .github/workflows/meet.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.yml index be555de5..8bf7e5f6 100644 --- a/.github/workflows/docker-hub.yml +++ b/.github/workflows/docker-hub.yml @@ -25,7 +25,7 @@ jobs: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.PRIVATE_KEY }} owner: ${{ github.repository_owner }} - repositories: "impress,secrets" + repositories: "meet,secrets" - name: Checkout repository uses: actions/checkout@v2 @@ -36,7 +36,7 @@ jobs: name: Load sops secrets uses: rouja/actions-sops@main with: - secret-file: secrets/numerique-gouv/impress/secrets.enc.env + secret-file: secrets/numerique-gouv/meet/secrets.enc.env age-key: ${{ secrets.SOPS_PRIVATE }} - name: Docker meta @@ -69,7 +69,7 @@ jobs: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.PRIVATE_KEY }} owner: ${{ github.repository_owner }} - repositories: "impress,secrets" + repositories: "meet,secrets" - name: Checkout repository uses: actions/checkout@v2 @@ -80,7 +80,7 @@ jobs: name: Load sops secrets uses: rouja/actions-sops@main with: - secret-file: secrets/numerique-gouv/impress/secrets.enc.env + secret-file: secrets/numerique-gouv/meet/secrets.enc.env age-key: ${{ secrets.SOPS_PRIVATE }} - name: Docker meta @@ -119,7 +119,7 @@ jobs: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.PRIVATE_KEY }} owner: ${{ github.repository_owner }} - repositories: "impress,secrets" + repositories: "meet,secrets" - name: Checkout repository uses: actions/checkout@v2 @@ -130,7 +130,7 @@ jobs: name: Load sops secrets uses: rouja/actions-sops@main with: - secret-file: secrets/numerique-gouv/impress/secrets.enc.env + secret-file: secrets/numerique-gouv/meet/secrets.enc.env age-key: ${{ secrets.SOPS_PRIVATE }} - name: Call argocd github webhook diff --git a/.github/workflows/meet.yml b/.github/workflows/meet.yml index cf4386bb..48c0cd5d 100644 --- a/.github/workflows/meet.yml +++ b/.github/workflows/meet.yml @@ -227,7 +227,7 @@ jobs: name: Load sops secrets uses: rouja/actions-sops@main with: - secret-file: secrets/numerique-gouv/impress/secrets.enc.env + secret-file: secrets/numerique-gouv/meet/secrets.enc.env age-key: ${{ secrets.SOPS_PRIVATE }} - name: Install gettext (required to make messages)