switch from set to env vars

pull/200/head
binhex 2 years ago
parent 13aaaae52b
commit 606b0a00fc

@ -43,14 +43,14 @@ jobs:
run: | run: |
test_tag=$(date +%Y%m%d%H%M%S) test_tag=$(date +%Y%m%d%H%M%S)
echo "[debug] Generated test tag name is '${test_tag}'" 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 id: generate_temporary_tag_name
- name: Generate app name - name: Generate app name
shell: bash shell: bash
run: | run: |
app_name=$(echo "${GITHUB_REPOSITORY}" | grep -P -o -m 1 '(?<=/arch-).*') app_name=$(echo "${GITHUB_REPOSITORY}" | grep -P -o -m 1 '(?<=/arch-).*')
echo "[debug] Generated app name is '${app_name}'" 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 id: generate_app_name
- name: Build Docker image and tag - name: Build Docker image and tag
uses: nick-fields/retry@v2 uses: nick-fields/retry@v2

@ -61,14 +61,14 @@ jobs:
run: | run: |
test_tag=$(date +%Y%m%d%H%M%S) test_tag=$(date +%Y%m%d%H%M%S)
echo "[debug] Generated test tag name is '${test_tag}'" 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 id: generate_temporary_tag_name
- name: Generate app name - name: Generate app name
shell: bash shell: bash
run: | run: |
app_name=$(echo "${GITHUB_REPOSITORY}" | grep -P -o -m 1 '(?<=/arch-).*') app_name=$(echo "${GITHUB_REPOSITORY}" | grep -P -o -m 1 '(?<=/arch-).*')
echo "[debug] Generated app name is '${app_name}'" 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 id: generate_app_name
- name: Build Docker image and tag - name: Build Docker image and tag
uses: nick-fields/retry@v2 uses: nick-fields/retry@v2

Loading…
Cancel
Save