Skip to content

Commit

Permalink
feat[docker]: Add more annotations to image
Browse files Browse the repository at this point in the history
  • Loading branch information
sidey79 committed Jun 9, 2024
1 parent b6589a5 commit 7e3c618
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 @@ -460,6 +460,7 @@ jobs:
cache-to: type=gha,mode=max,scope=full_linux/cross-${{ matrix.dockerfile }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}
build-args: |
BUILD_DATE=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
IMAGE_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
Expand Down Expand Up @@ -503,6 +504,7 @@ jobs:
type=gha,scope=full_linux/amd64-${{ matrix.dockerfile }}
type=gha,scope=full_linux/cross-${{ matrix.dockerfile }}
tags: ${{ steps.meta_base.outputs.tags }}
annotations: ${{ steps.meta_base.outputs.annotations }}
labels: ${{ steps.meta_base.outputs.labels }}
build-args: |
BUILD_DATE=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
Expand Down

0 comments on commit 7e3c618

Please sign in to comment.