Skip to content

Commit

Permalink
Update gobuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mandibles232 authored Oct 21, 2023
1 parent 1804d4c commit a54277d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/gobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,12 @@ jobs:
run: |
file_content=$(<dockerhub-image-label.txt)
echo "::set-output name=file_content::$file_content"
- name: Read File and Set as Environment Variable
run: |
file_content=$(cat dockerhub-image-label.txt))
echo "FILE_CONTENT1=$file_content" >> $GITHUB_ENV
- name: Use Environment Variable
run: |
echo "Content of FILE_CONTENT is $FILE_CONTENT"

0 comments on commit a54277d

Please sign in to comment.