Skip to content

Commit

Permalink
switch from set to env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
binhex committed Jan 21, 2023
1 parent 11dca50 commit cef8ec7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow-docker-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ jobs:
run: |
test_tag=$(date +%Y%m%d%H%M%S)
echo "[debug] Generated test tag name is '${test_tag}'"
echo "::echo "test_tag=$test_tag" >> $GITHUB_OUTPUT"
echo "test_tag=$test_tag" >> $GITHUB_OUTPUT
id: generate_temporary_tag_name
- name: Generate app name
shell: bash
run: |
app_name=$(echo "${GITHUB_REPOSITORY}" | grep -P -o -m 1 '(?<=/arch-).*')
echo "[debug] Generated app name is '${app_name}'"
echo "::set-output name=app_name::$app_name"
echo "app_name=$app_name" >> $GITHUB_OUTPUT
id: generate_app_name
- name: Build Docker image and tag
uses: nick-fields/retry@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/workflow-docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ jobs:
run: |
test_tag=$(date +%Y%m%d%H%M%S)
echo "[debug] Generated test tag name is '${test_tag}'"
echo "::echo "test_tag=$test_tag" >> $GITHUB_OUTPUT"
echo "test_tag=$test_tag" >> $GITHUB_OUTPUT
id: generate_temporary_tag_name
- name: Generate app name
shell: bash
run: |
app_name=$(echo "${GITHUB_REPOSITORY}" | grep -P -o -m 1 '(?<=/arch-).*')
echo "[debug] Generated app name is '${app_name}'"
echo "::set-output name=app_name::$app_name"
echo "app_name=$app_name" >> $GITHUB_OUTPUT
id: generate_app_name
- name: Build Docker image and tag
uses: nick-fields/retry@v2
Expand Down

0 comments on commit cef8ec7

Please sign in to comment.