Skip to content

Commit

Permalink
Fix pull env name from settings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Jan 20, 2025
1 parent 87206a9 commit 58fc8b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to-kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
mapped_name=$branch_name
fi
mapped_name_upper=$(echo "$mapped_name" | tr '[:lower:]' '[:upper:]')
echo "Environment name used: $mapped_name"
echo "Environment name found matching branch name: Using the environment name"
echo "##[set-output name=env_name;]$mapped_name"
echo "##[set-output name=env_name_upper;]$mapped_name_upper"
id: set_env
env:
PILOT: ${{ secrets.PILOT }}
PILOT: ${{ vars.PILOT }}

wait_for_image_push:
name: Wait for Docker images to be pushed
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/publish-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
mapped_name=$branch_name
fi
mapped_name_upper=$(echo "$mapped_name" | tr '[:lower:]' '[:upper:]')
echo "Environment name used: $mapped_name"
echo "Environment name found matching branch name: Using the environment name"
echo "##[set-output name=env_name;]$mapped_name"
echo "##[set-output name=env_name_upper;]$mapped_name_upper"
id: set_env
Expand Down Expand Up @@ -150,9 +150,6 @@ jobs:
id-token: 'write'

steps:
- name: Debug IMAGE TAG
run: |
echo "IMAGE_TAG: ${{ needs.set_env_name.outputs.env_name }}"
- name: Check out the repo
uses: actions/checkout@v3

Expand Down

0 comments on commit 58fc8b5

Please sign in to comment.