Skip to content
Snippets Groups Projects
Unverified Commit 5db4aff9 authored by dave-juicelabs's avatar dave-juicelabs Committed by GitHub
Browse files

Small fixes to the github controller docker image flow (#27)


* Updating the github workflow to automatically create docker images for each master commit

Signed-off-by: default avatarDavid McCloskey <dave@juicelabs.co>

* Small fixes to the github controller docker image flow

Signed-off-by: default avatarDavid McCloskey <dave@juicelabs.co>

---------

Signed-off-by: default avatarDavid McCloskey <dave@juicelabs.co>
parent 6bbc0985
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,9 @@ jobs:
- name: Controller Image
uses: docker/build-push-action@v3
with:
build-args: |
BASE_CONTAINER=ubuntu:22.04
JUICE_VERSION=${{ steps.version.outputs.version }}
context: docker/controller
push: true
tags: juicelabs/controller:${{ steps.version.outputs.version }}
......@@ -9,6 +9,11 @@ RUN cd /tmp/juice && \
FROM ${BASE_CONTAINER}
ARG JUICE_VERSION
ENV JUICE_VERSION=${JUICE_VERSION}
LABEL "juicelabs.co/version"=${JUICE_VERSION}
LABEL maintainer="JUICE TECHNOLOGIES <juicelabs.co>"
ARG PORT=8080
ENV PORT=${PORT}
EXPOSE ${PORT}
......@@ -18,5 +23,3 @@ WORKDIR /root
COPY --from=build /tmp/juice/controller .
ENTRYPOINT ["/bin/bash", "-c", "./controller --address 0.0.0.0:${PORT}", "--"]
LABEL maintainer="JUICE TECHNOLOGIES <juicelabs.co>"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment