From c44a38b431655db00968365dec85385a7c0db1c0 Mon Sep 17 00:00:00 2001 From: Chris Yocum Date: Wed, 12 Jun 2024 18:33:56 -0400 Subject: [PATCH] Add time output --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 720ad20..74c00c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,7 @@ jobs: outputs: version: ${{ steps.prep.outputs.version }} branch: ${{ steps.prep.outputs.branch }} + time: ${{ steps.vars.outputs.time }} steps: - name: Checkout uses: actions/checkout@v4 @@ -212,6 +213,7 @@ jobs: SOURCE=${IMAGE}:${TAG} docker buildx imagetools create -t ${IMAGE}:${{ needs.build.outputs.time }} ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64 docker buildx imagetools create -t ${IMAGE}:${{ needs.build.outputs.branch }} ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64 + docker buildx imagetools create -t ${IMAGE}:${{ needs.build.outputs.version }} ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64 if [[ ${GITHUB_REF//refs\/heads\//} == main ]]; then docker buildx imagetools create -t ${IMAGE}:latest ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64 fi