Skip to content

Commit

Permalink
Don't use deprecated ::set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jul 26, 2023
1 parent 6d7ed0c commit 3744539
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
- "debian"
steps:
- name: Parse ID
id: parse
run: |
set -x
distribution=${{ matrix.id }}
Expand All @@ -37,9 +36,9 @@ jobs:
if [ ${{ matrix.id }} = "debian" -a "${version}" = "latest" ]; then
tags="${tags},groonga/groonga:latest"
fi
echo "::set-output name=distribution::${distribution}"
echo "::set-output name=context::./${distribution}"
echo "::set-output name=tags::${tags}"
echo "DISTRIBUTION=${distribution}" >> ${GITHUB_ENV}
echo "CONTEXT=./${distribution}" >> ${GITHUB_ENV}
echo "TAGS=${tags}" >> ${GITHUB_ENV}
- uses: actions/checkout@v2
- uses: docker/login-action@v1
with:
Expand All @@ -52,11 +51,11 @@ jobs:
with:
# cache-from: type=gha
# cache-to: type=gha,mode=max
context: ${{ steps.parse.outputs.context }}
context: ${{ env.CONTEXT }}
push: true
tags: ${{ steps.parse.outputs.tags }}
tags: ${{ env.TAGS }}
- name: Image info
run: |
echo "ref: ${{ github.ref }}"
echo "tags: ${{ steps.parse.outputs.tags }}"
echo "tags: ${{ env.TAGS }}"
echo "digest: ${{ steps.docker_build.outputs.digest }}"

0 comments on commit 3744539

Please sign in to comment.