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