Skip to content

Commit

Permalink
Add time output
Browse files Browse the repository at this point in the history
  • Loading branch information
tronyx committed Jun 12, 2024
1 parent 39c20b8 commit c44a38b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c44a38b

Please sign in to comment.