Update .gitea/workflows/docker-publish.yaml

This commit is contained in:
2026-07-24 11:36:35 +00:00
parent c1e22cc586
commit 024f6d7fd3
+13 -17
View File
@@ -38,28 +38,24 @@ jobs:
env-slug: ${{ steps.env_config.outputs.INFISICAL_ENV }}
project-slug: "syscom-xpq-0"
domain: "https://infisical.biz360.me/"
export-type: "file"
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
# export-type: "file"
# file-output-path: "/infisical.env"
# - name: Brute-force overwrite environment.ts
# run: |
# # Use jq to extract the exact string value, preserving all quotes and newlines
# jq -r '.MASTERADMINUI' infisical.json > "$ENV_FILE_PATH"
# source infisical.env
# # Forcefully overwrite the file the developers are importing
# echo "${!PROJECT_SECRET_KEY}" > "$ENV_FILE_PATH"
# # Clean up
# rm -f infisical.json
# rm -f infisical.env
- name: Brute-force overwrite environment.ts
run: |
# Because the secret is now a native environment variable, we can write it directly.
# The double quotes around the indirect expansion preserve all newlines and internal single quotes!
echo "${!PROJECT_SECRET_KEY}" > "$ENV_FILE_PATH"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3