File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 20
20
- name : Fetch server image tag
21
21
id : get-server-tag
22
22
run : |
23
- response=$(curl -s \
24
- -H "Authorization: Bearer ${{ secrets.GH_FG_PAT_TAGS }}" \
25
- -H "Accept: application/vnd.github+json" \
26
- -H "X-GitHub-Api-Version: 2022-11-28" \
27
- https://api.github.com/repos/MukuFlash03/e-mission-server/contents/.env?ref=cleanup-cicd)
28
-
29
- content=$(echo "$response" | jq -r .content)
30
- decoded_content=$(echo "$content" | base64 --decode)
31
- SERVER_IMAGE_TAG=$(echo "$decoded_content" | grep "SERVER_IMAGE_TAG=" | cut -d'=' -f2)
23
+ response=$(curl -s https://raw.githubusercontent.com/MukuFlash03/e-mission-server/refs/heads/cleanup-cicd/.env)
24
+ SERVER_IMAGE_TAG=$(echo "$response" | grep "SERVER_IMAGE_TAG=" | cut -d'=' -f2)
32
25
echo "SERVER_IMAGE_TAG=$SERVER_IMAGE_TAG" >> "$GITHUB_OUTPUT"
33
26
34
27
- name : Set docker image tags
You can’t perform that action at this time.
0 commit comments