File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 5050 echo ::set-output name=docker_image::${DOCKER_IMAGE}
5151 echo ::set-output name=build_time::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
5252 echo ::set-output name=version::${VERSION}
53+ echo ::set-output name=maiko_release::${MAIKO_RELEASE}
54+ echo ::set-output name=medley_release::${MEDLEY_RELEASE}
5355
5456 # Download Medley Release Assets
5557 - name : Download Release Assets
@@ -103,4 +105,8 @@ jobs:
103105 # Push the created image
104106 push : true
105107 # tags to assign to the Docker image
106- tags : ${{ steps.prep.outputs.tags }}
108+ tags : ${{ steps.prep.outputs.tags }}
109+ build-args : |
110+ medley_release=${{steps.prep.outputs.medley_release}}
111+ maiko_release=${{steps.prep.outputs.maiko_release}}
112+ build_date=${{steps.prep.outputs.build_time}}
Original file line number Diff line number Diff line change 11FROM ubuntu:focal
2- ARG BUILD_DATE
2+ ARG build_date
3+ ARG medley_release
4+ ARG maiko_release
35LABEL name="Medley"
46# LABEL tags=${tags}
57LABEL description="The Medley Interlisp environment"
68LABEL url="https://github.com/Interlisp/medley"
7- LABEL build-time=$BUILD_DATE
9+ LABEL build-time=$build_date
10+ ENV BUILD_DATE=$build_date
11+ ENV MEDLEY_RELEASE=$medley_release
12+ ENV MAIKO_RELEASE=$maiko_release
813
914RUN apt-get update && apt-get install -y tightvncserver
1015
1116EXPOSE 5900
1217
1318# Copy and uncompress loadup and required source files.
14- ADD *.tgz /app
19+ ADD *.tgz /home
1520
16- WORKDIR /app /medley
21+ WORKDIR /home /medley
1722
1823RUN adduser --disabled-password --gecos "" medley
1924USER medley
You can’t perform that action at this time.
0 commit comments