Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
18 changes: 15 additions & 3 deletions .github/workflows/deploy-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@ jobs:
push: true
tags: "ocamlsf/learn-ocaml:master"
labels: |
org.opencontainers.image.title=learn-ocaml
org.opencontainers.image.description=learn-ocaml app manager
org.opencontainers.image.url=https://ocaml-sf.org/
org.opencontainers.image.vendor=The OCaml Software Foundation
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
org.opencontainers.image.source=${{ github.repositoryUrl }}
org.opencontainers.image.source=${{ github.server_url }}${{ github.repository }}
org.opencontainers.image.version=master
org.opencontainers.image.revision=${{ github.sha }}
push_client:
Expand Down Expand Up @@ -76,8 +80,12 @@ jobs:
target: client
tags: "ocamlsf/learn-ocaml-client:master"
labels: |
org.opencontainers.image.title=learn-ocaml-client
org.opencontainers.image.description=learn-ocaml command-line client
org.opencontainers.image.url=https://ocaml-sf.org/
org.opencontainers.image.vendor=The OCaml Software Foundation
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
org.opencontainers.image.source=${{ github.repositoryUrl }}
org.opencontainers.image.source=${{ github.server_url }}${{ github.repository }}
org.opencontainers.image.version=master
org.opencontainers.image.revision=${{ github.sha }}
push_emacs_client:
Expand Down Expand Up @@ -116,7 +124,11 @@ jobs:
version=master
tags: "ocamlsf/emacs-learn-ocaml-client:master"
labels: |
org.opencontainers.image.title=learn-ocaml-client with emacs
org.opencontainers.image.description=learn-ocaml command-line client with emacs
org.opencontainers.image.url=https://ocaml-sf.org/
org.opencontainers.image.vendor=The OCaml Software Foundation
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
org.opencontainers.image.source=${{ github.repositoryUrl }}
org.opencontainers.image.source=${{ github.server_url }}${{ github.repository }}
org.opencontainers.image.version=master
org.opencontainers.image.revision=${{ github.sha }}
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,12 @@ jobs:
ocamlsf/learn-ocaml:latest
ocamlsf/learn-ocaml:${{ steps.tag.outputs.tag }}
labels: |
org.opencontainers.image.title=learn-ocaml
org.opencontainers.image.description=learn-ocaml app manager
org.opencontainers.image.url=https://ocaml-sf.org/
org.opencontainers.image.vendor=The OCaml Software Foundation
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
org.opencontainers.image.source=${{ github.repositoryUrl }}
org.opencontainers.image.source=${{ github.server_url }}${{ github.repository }}
org.opencontainers.image.version=${{ steps.tag.outputs.tag }}
org.opencontainers.image.revision=${{ github.sha }}
push_client:
Expand Down Expand Up @@ -203,8 +207,12 @@ jobs:
ocamlsf/learn-ocaml-client:latest
ocamlsf/learn-ocaml-client:${{ steps.tag.outputs.tag }}
labels: |
org.opencontainers.image.title=learn-ocaml-client
org.opencontainers.image.description=learn-ocaml command-line client
org.opencontainers.image.url=https://ocaml-sf.org/
org.opencontainers.image.vendor=The OCaml Software Foundation
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
org.opencontainers.image.source=${{ github.repositoryUrl }}
org.opencontainers.image.source=${{ github.server_url }}${{ github.repository }}
org.opencontainers.image.version=${{ steps.tag.outputs.tag }}
org.opencontainers.image.revision=${{ github.sha }}
push_emacs_client:
Expand Down Expand Up @@ -250,7 +258,11 @@ jobs:
ocamlsf/emacs-learn-ocaml-client:latest
ocamlsf/emacs-learn-ocaml-client:${{ steps.tag.outputs.tag }}
labels: |
org.opencontainers.image.title=learn-ocaml-client with emacs
org.opencontainers.image.description=learn-ocaml command-line client with emacs
org.opencontainers.image.url=https://ocaml-sf.org/
org.opencontainers.image.vendor=The OCaml Software Foundation
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
org.opencontainers.image.source=${{ github.repositoryUrl }}
org.opencontainers.image.source=${{ github.server_url }}${{ github.repository }}
org.opencontainers.image.version=${{ steps.tag.outputs.tag }}
org.opencontainers.image.revision=${{ github.sha }}
10 changes: 0 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ COPY --from=compilation /home/opam/install-prefix/bin/learn-ocaml-client /usr/bi

ENTRYPOINT ["dumb-init","/usr/bin/learn-ocaml-client"]

LABEL org.opencontainers.image.title="learn-ocaml-client"
LABEL org.opencontainers.image.description="learn-ocaml command-line client"
LABEL org.opencontainers.image.url="https://ocaml-sf.org/"
LABEL org.opencontainers.image.vendor="The OCaml Software Foundation"


FROM alpine:3.13 as program

Expand All @@ -74,8 +69,3 @@ COPY --from=compilation "$opam_switch/lib/ocaml" "$opam_switch/lib/ocaml/"

ENTRYPOINT ["dumb-init","/usr/bin/learn-ocaml","--sync-dir=/sync","--repo=/repository"]
CMD ["build","serve"]

LABEL org.opencontainers.image.title="learn-ocaml"
LABEL org.opencontainers.image.description="learn-ocaml app manager"
LABEL org.opencontainers.image.url="https://ocaml-sf.org/"
LABEL org.opencontainers.image.vendor="The OCaml Software Foundation"