mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-03-26 04:18:46 +00:00
ci: Use GITHUB_OUTPUT envvar instead of set-output command (#630)
This commit is contained in:
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@@ -24,14 +24,14 @@ jobs:
|
|||||||
# Set output parameters.
|
# Set output parameters.
|
||||||
|
|
||||||
if [ "${{github.event_name}}" == "pull_request" ]; then
|
if [ "${{github.event_name}}" == "pull_request" ]; then
|
||||||
echo ::set-output name=push::false
|
echo "push=false" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo ::set-output name=push::true
|
echo "push=true" >> $GITHUB_OUTPUT
|
||||||
echo ::set-output name=tags::${TAGS}
|
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
|
||||||
echo ::set-output name=branch::${GIT_BRANCH}
|
echo "branch=${GIT_BRANCH}" >> $GITHUB_OUTPUT
|
||||||
echo ::set-output name=docker_image::${DOCKER_IMAGE}
|
echo "docker_image=${DOCKER_IMAGE}" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
echo ::set-output name=platforms::${PLATFORMS}
|
echo "platforms=${PLATFORMS}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
|
|||||||
Reference in New Issue
Block a user