Skip to content

dev: replace deprecated command with environment file #3558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ jobs:
MAJOR=${TAG%.*}
SHORT_COMMIT=${GITHUB_SHA::8}
DATE=$(date '+%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=tag_name::${TAG}
echo ::set-output name=major_tag::${MAJOR}
echo ::set-output name=short_commit::${SHORT_COMMIT}
echo ::set-output name=date::${DATE}
echo tag_name=${TAG} >> $GITHUB_OUTPUT
echo major_tag=${MAJOR} >> $GITHUB_OUTPUT
echo short_commit=${SHORT_COMMIT} >> $GITHUB_OUTPUT
echo date=${DATE} >> $GITHUB_OUTPUT
if [[ ${{ matrix.target.Dockerfile }} == *"alpine"* ]]; then
echo ::set-output name=full_tag_name::${TAG}-alpine
echo ::set-output name=full_major_tag::${MAJOR}-alpine
echo ::set-output name=latest_tag::latest-alpine
echo full_tag_name=${TAG}-alpine >> $GITHUB_OUTPUT
echo full_major_tag=${MAJOR}-alpine >> $GITHUB_OUTPUT
echo latest_tag=latest-alpine >> $GITHUB_OUTPUT
else
echo ::set-output name=full_tag_name::${TAG}
echo ::set-output name=full_major_tag::${MAJOR}
echo ::set-output name=latest_tag::latest
echo full_tag_name=${TAG} >> $GITHUB_OUTPUT
echo full_major_tag=${MAJOR} >> $GITHUB_OUTPUT
echo latest_tag=latest >> $GITHUB_OUTPUT
fi

- name: Set up QEMU
Expand Down