Skip to content

Commit

Permalink
Remove local secret
Browse files Browse the repository at this point in the history
  • Loading branch information
rouja authored and hexaltation committed Jun 10, 2024
1 parent fe93635 commit c399556
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 21 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,19 @@ jobs:
cmd_version: "grep -Po \"GRIST_\\KVERSION=.*\" dockerfiles/grist/Dockerfile | head -n 1 >> $GITHUB_ENV"
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: "impress,secrets"
-
name: Checkout repository
uses: actions/checkout@v2
with:
submodules: recursive
token: ${{ steps.app-token.outputs.token }}
-
name: Read version
run: ${{ matrix.cmd_version }}
Expand All @@ -52,7 +63,7 @@ jobs:
name: Load sops secrets
uses: rouja/actions-sops@main
with:
secret-file: .github/workflows/secrets.enc.env
secret-file: .github/workflows/secrets/numerique-gouv/dockerfiles/secrets.enc.env
age-key: ${{ secrets.SOPS_PRIVATE }}
-
name: Login to DockerHub
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/secrets
Submodule secrets added at 647b88
11 changes: 0 additions & 11 deletions .github/workflows/secrets.enc.env

This file was deleted.

4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule ".github/workflows/secrets"]
path = .github/workflows/secrets
url = https://github.com/numerique-gouv/secrets.git
branch = main
7 changes: 0 additions & 7 deletions .sops.yaml

This file was deleted.

0 comments on commit c399556

Please sign in to comment.