Skip to content

Commit

Permalink
Add labels to docker image (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmet authored Jun 7, 2024
1 parent d417819 commit eea2b03
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ jobs:
name: runner-manager
namespace: scality
tag: ${{ github.ref_name }}
build-args: |
VERSION=${{ github.ref_name }}
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
FROM python:3.11-slim

ARG VERSION=dev

LABEL org.opencontainers.image.title=runner-manager
LABEL org.opencontainers.image.source=https://github.com/scality/runner-manager
LABEL org.opencontainers.image.description="Manager for GitHub Actions self-hosted runners"
LABEL org.opencontainers.image.licenses="Apache-2.0"
LABEL org.opencontainers.image.version=$VERSION

EXPOSE 8000
HEALTHCHECK NONE

Expand Down

0 comments on commit eea2b03

Please sign in to comment.