Skip to content

Commit

Permalink
feat: 🔖 added release notes to docker metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerh2001 committed Oct 1, 2023
1 parent a7cf64d commit 2238ee3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"dockerRegistry": "ghcr.io",
"dockerProject": "tomerh2001",
"dockerArgs": {
"GH_REPO": "{{env.GH_REPO}}"
"GH_REPO": "{{env.GH_REPO}}",
"RELEASE_NOTES": "${{release_notes}}"
}
}]
]
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM alpine:latest

ARG GH_REPO
ARG RELEASE_NOTES

LABEL org.opencontainers.image.source $GH_REPO
LABEL org.opencontainers.image.description $RELEASE_NOTES

CMD ["echo", "Hello World!"]

0 comments on commit 2238ee3

Please sign in to comment.