Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add labels to docker image #618

Merged
merged 5 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ jobs:
name: runner-manager
namespace: ${{ github.repository_owner }}
tag: ${{ github.ref_name == 'main' && 'latest' || github.sha }}
build-args: |
VERSION=${{ github.ref_name }}
tcarmet marked this conversation as resolved.
Show resolved Hide resolved
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 }}
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
FROM python:3.11-slim

ARG VERSION=dev

LABEL org.opencontainers.image.source=https://github.com/scality/runner-manager
tcarmet marked this conversation as resolved.
Show resolved Hide resolved
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
Loading