cloud-barista / cb-dragonfly

Cloud-Barista Integrated Monitoring Framework
Apache License 2.0
8 stars 11 forks source link

Replace deprecated command with environment file #167

Closed jongwooo closed 10 months ago

jongwooo commented 1 year ago

Description

Closes #166

Update .github/workflows/publish-multi-arch-container-images.yaml to use environment file instead of deprecated set-output command. For more information, see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

I found the workflow file that use set-output command through the following command:

$ find . -name '*.yml' -o -name '*.yaml' | xargs egrep '\bset-output\b'

AS-IS

echo ::set-output name=docker-tags::${DOCKER_TAGS}

TO-BE

echo "docker-tags=${DOCKER_TAGS}" >> $GITHUB_OUTPUT