Skip to content

Commit

Permalink
Add labels into dockerfile (#148)
Browse files Browse the repository at this point in the history
* Add source label for renovatebot

* Update docker-publish.yml
  • Loading branch information
SimonMisencik authored Aug 3, 2023
1 parent 35b554c commit 21e3534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
submodules: recursive

- name: Build image
run: docker build . --file docker/server/Dockerfile --tag $IMAGE_NAME --build-arg git_commit=$(git describe --tags)
run: docker build . --file docker/server/Dockerfile --tag $IMAGE_NAME --build-arg git_commit=$(git rev-parse HEAD)

- name: Log into docker hub
run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
Expand Down
1 change: 1 addition & 0 deletions docker/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ FROM eclipse-temurin:11-jre-focal
ARG git_commit=unspecified
LABEL git_commit="${git_commit}"
LABEL maintainer="Netflix OSS <[email protected]>"
LABEL org.opencontainers.image.source="https://github.com/FRINXio/conductor"

# Make app folders
RUN mkdir -p /app/config /app/logs /app/libs
Expand Down

0 comments on commit 21e3534

Please sign in to comment.