Update .gitea/workflows/docker-publish.yaml

This commit is contained in:
2026-07-24 11:25:38 +00:00
parent 270e99eb86
commit 23a9607df3
+17 -7
View File
@@ -38,18 +38,28 @@ jobs:
env-slug: ${{ steps.env_config.outputs.INFISICAL_ENV }} env-slug: ${{ steps.env_config.outputs.INFISICAL_ENV }}
project-slug: "syscom-xpq-0" project-slug: "syscom-xpq-0"
domain: "https://infisical.biz360.me/" domain: "https://infisical.biz360.me/"
export-type: "file" # export-type: "file"
file-output-path: "/infisical.env" # file-output-path: "/infisical.env"
export-type: "json" # Changed from "file"
file-output-path: "infisical.json" # Changed to .json
# - name: Brute-force overwrite environment.ts
# run: |
# source infisical.env
# # Forcefully overwrite the file the developers are importing
# echo "${!PROJECT_SECRET_KEY}" > "$ENV_FILE_PATH"
# # Clean up
# rm -f infisical.env
- name: Brute-force overwrite environment.ts - name: Brute-force overwrite environment.ts
run: | run: |
source infisical.env # Use jq to extract the exact string value, preserving all quotes and newlines
jq -r '.MASTERADMINUI' infisical.json > "$ENV_FILE_PATH"
# Forcefully overwrite the file the developers are importing
echo "${!PROJECT_SECRET_KEY}" > "$ENV_FILE_PATH"
# Clean up # Clean up
rm -f infisical.env rm -f infisical.json
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3