chore: replace deprecated set-output command (#43)

Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
This commit is contained in:
Niccolò Fei
2022-11-11 09:20:13 +01:00
committed by GitHub
parent bd264eb50b
commit 5287f3f26b
3 changed files with 9 additions and 7 deletions

View File

@@ -44,7 +44,6 @@ jobs:
platforms: ${{ matrix.platforms }}
- name: Docker meta
id: docker-meta
env:
TAGS: ${{ toJson(matrix.tags) }}
run: |
@@ -58,10 +57,9 @@ jobs:
RESULT="${RESULT},ghcr.io/${IMAGE_RELEASE}:${tag}"
fi
done
echo "::set-output name=tags::${RESULT%,}"
echo "TAGS=${RESULT%,}" >> $GITHUB_ENV
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Log in to the GitHub Container registry
@@ -78,7 +76,7 @@ jobs:
file: ${{ matrix.file }}
push: false
load: true
tags: ${{ steps.docker-meta.outputs.tags }}
tags: ${{ env.TAGS }}
- name: Dockle scan
uses: erzz/dockle-action@v1
@@ -96,4 +94,4 @@ jobs:
file: ${{ matrix.file }}
platforms: ${{ matrix.platforms }}
push: true
tags: ${{ steps.docker-meta.outputs.tags }}
tags: ${{ env.TAGS }}