From b972e44b5e43667da8c08c7410aed91a596c50bb Mon Sep 17 00:00:00 2001 From: Tobias Lehmann Date: Tue, 4 Jun 2024 08:40:19 +0200 Subject: [PATCH] added environment variable output --- .gitea/workflows/publish-docker-springboot.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitea/workflows/publish-docker-springboot.yaml b/.gitea/workflows/publish-docker-springboot.yaml index 7b6f52d..f2b25d8 100644 --- a/.gitea/workflows/publish-docker-springboot.yaml +++ b/.gitea/workflows/publish-docker-springboot.yaml @@ -24,6 +24,17 @@ jobs: - name: Setup environment variables from "build/env-setup.sh" run: | source build/env-setup.sh + - name: Show environment variables + run: | + echo "The job_id is: $GITHUB_JOB" # reference the default environment variables + echo "The id of this action is: $GITHUB_ACTION" # reference the default environment variables + echo "The run id is: $GITHUB_RUN_ID" + echo "The GitHub Actor's username is: $GITHUB_ACTOR" + echo "GitHub SHA: $GITHUB_SHA" + echo "APPLICATION_FILE_BINARY: $APPLICATION_FILE_BINARY" + echo "APPLICATION_NAME: $APPLICATION_NAME" + echo "APPLICATION_PORT: $APPLICATION_PORT" + echo "APPLICATION_JAVA_VERSION: $APPLICATION_JAVA_VERSION" - name: Build and push docker image uses: docker/build-push-action@v5 with: