cloud-barista / cb-ladybug

Cloud-Barista Multi-Cloud Application Runtime Framework : Support Multi-Cloud Kubernetes Service
Apache License 2.0
11 stars 11 forks source link

Replace deprecated command with environment file #175

Closed jongwooo closed 1 year ago

jongwooo commented 1 year ago

Description

Closes #174

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