Skip to content

Commit

Permalink
use env instead of set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Dec 8, 2023
1 parent edd13de commit c26ff8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_docker_matrix_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
original_tags="${{ steps.matrix_meta.outputs.tags }}"
modified_tags=$(echo "$original_tags" | sed 's/_ubuntu//')
all_tags="$original_tags $modified_tags"
echo "::set-output name=all_tags::$all_tags"
echo "ALL_TAGS=$all_tags" >> $GITHUB_ENV
- name: Push docker tags ${{ matrix.platform }}
id: push_tags
Expand All @@ -104,7 +104,7 @@ jobs:
file: DockerfileUbuntu
platforms: ${{ matrix.platform }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.modify_tags.outputs.all_tags }}
tags: ${{ env.ALL_TAGS }}
labels: ${{ steps.matrix_meta.outputs.labels }}

- name: Upload digest
Expand Down

0 comments on commit c26ff8f

Please sign in to comment.