mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 14:27:30 +00:00
build secret scanning
This commit is contained in:
@@ -105,6 +105,52 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
build-args: |
|
build-args: |
|
||||||
POSTHOG_API_KEY=${{ secrets.PUBLIC_POSTHOG_API_KEY }}
|
POSTHOG_API_KEY=${{ secrets.PUBLIC_POSTHOG_API_KEY }}
|
||||||
|
|
||||||
|
secret-scanning-git-app:
|
||||||
|
name: Build secret scanning git app
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: ☁️ Checkout source
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Save commit hashes for tag
|
||||||
|
id: commit
|
||||||
|
uses: pr-mpt/actions-commit-hash@v2
|
||||||
|
- name: 🔧 Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
- name: 🐋 Login to Docker Hub
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
- name: Set up Depot CLI
|
||||||
|
uses: depot/setup-action@v1
|
||||||
|
# - name: 📦 Build frontend and export to Docker
|
||||||
|
# uses: depot/build-push-action@v1
|
||||||
|
# with:
|
||||||
|
# load: true
|
||||||
|
# token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
|
||||||
|
# project: 64mmf0n610
|
||||||
|
# context: frontend
|
||||||
|
# tags: infisical/staging_deployment_secret-scanning-git-app:test
|
||||||
|
# - name: ⏻ Spawn frontend container
|
||||||
|
# run: |
|
||||||
|
# docker run -d --rm --name secret-scanning-git-app infisical/staging_deployment_frontend:test
|
||||||
|
# - name: ⏻ Shut down frontend container
|
||||||
|
# run: |
|
||||||
|
# docker stop secret-scanning-git-app
|
||||||
|
- name: 🏗️ Build secret scanning git app and push
|
||||||
|
uses: depot/build-push-action@v1
|
||||||
|
with:
|
||||||
|
project: 64mmf0n610
|
||||||
|
push: true
|
||||||
|
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
|
||||||
|
context: secret-engine
|
||||||
|
tags: |
|
||||||
|
infisical/staging_deployment_secret-scanning-git-app:${{ steps.commit.outputs.short }}
|
||||||
|
infisical/staging_deployment_secret-scanning-git-app:latest
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
build-args: |
|
||||||
|
POSTHOG_API_KEY=${{ secrets.PUBLIC_POSTHOG_API_KEY }}
|
||||||
gamma-deployment:
|
gamma-deployment:
|
||||||
name: Deploy to gamma
|
name: Deploy to gamma
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user