From 79cc06ebe3c58c2ba140aedaf8a0fc84a7c794db Mon Sep 17 00:00:00 2001 From: Alfio Lazzaro Date: Wed, 24 Jan 2024 15:24:51 +0100 Subject: [PATCH] Update github actions --- .github/workflows/docker-build-env.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-build-env.yml b/.github/workflows/docker-build-env.yml index 5cc6e90e0cb..0a4acec0759 100644 --- a/.github/workflows/docker-build-env.yml +++ b/.github/workflows/docker-build-env.yml @@ -56,22 +56,22 @@ jobs: if [ "${{ github.event_name }}" = "push" ]; then TAGS="$TAGS,${DOCKER_IMAGE}:sha-${GITHUB_SHA::8}" fi - echo ::set-output name=version::${VERSION} - echo ::set-output name=tags::${TAGS} - echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ') + echo "version=${VERSION}" >> $GITHUB_OUTPUT + echo "tags=${TAGS}" >> $GITHUB_OUTPUT + echo "created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ matrix.registry }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push container image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: ${{ matrix.context }} file: ${{ matrix.context }}/${{ matrix.file }}