From 7c0c2a9b74adccf26a7a844df42fce1abefb67ea Mon Sep 17 00:00:00 2001 From: Jason Collins Date: Wed, 15 Nov 2023 15:27:32 -0700 Subject: [PATCH] update again --- .github/workflows/build-discovery-agent-docker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-discovery-agent-docker.yml b/.github/workflows/build-discovery-agent-docker.yml index 1268fea..f513fe7 100644 --- a/.github/workflows/build-discovery-agent-docker.yml +++ b/.github/workflows/build-discovery-agent-docker.yml @@ -24,10 +24,10 @@ jobs: - name: Set output id: vars run: | - echo "::set-output name=date::$(date +'%Y%m%d%H%M%S')" - echo "::set-output name=tag::${GITHUB_REF#refs/*/}" - echo "::set-output name=sdkversion::$(grep github.com/Axway/agent-sdk go.mod | awk '{print $2}')" - echo "::set-output name=commit::$(git rev-parse --short ${{ github.sha }})" + echo "date=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT + echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT + echo "sdkversion=$(grep github.com/Axway/agent-sdk go.mod | awk '{print $2}')" >> $GITHUB_OUTPUT + echo "commit=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_OUTPUT - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@v4