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
4 changes: 4 additions & 0 deletions .github/workflows/deploy-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
with:
pull: true
push: true
cache-from: "type=gha"
cache-to: "type=gha,mode=min"
tags: "ocamlsf/learn-ocaml:master"
platforms: "linux/amd64,linux/arm64/v8"
labels: |
Expand Down Expand Up @@ -84,6 +86,8 @@ jobs:
pull: true
# load: true # implied by "driver: docker"
push: true
cache-from: "type=gha"
cache-to: "type=gha,mode=min"
target: client
tags: "ocamlsf/learn-ocaml-client:master"
platforms: "linux/amd64,linux/arm64/v8"
Expand Down
34 changes: 25 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,15 @@ jobs:
id: tag
- name: Check out the repo
uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: "all"
- name: Set up Docker Buildx
# cf. https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#image
# and https://docs.docker.com/engine/reference/commandline/buildx_create/#driver
# cf. https://docs.docker.com/reference/cli/docker/buildx/create/#docker-container-driver
uses: docker/setup-buildx-action@v3
with:
driver: "docker"
driver: "docker-container"
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -121,9 +124,12 @@ jobs:
with:
pull: true
push: true
cache-from: "type=gha"
cache-to: "type=gha,mode=min"
tags: |
ocamlsf/learn-ocaml:latest
ocamlsf/learn-ocaml:${{ steps.tag.outputs.tag }}
platforms: "linux/amd64,linux/arm64/v8"
labels: |
org.opencontainers.image.title=learn-ocaml
org.opencontainers.image.description=learn-ocaml app manager
Expand All @@ -144,12 +150,15 @@ jobs:
id: tag
- name: Check out the repo
uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: "all"
- name: Set up Docker Buildx
# cf. https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#image
# and https://docs.docker.com/engine/reference/commandline/buildx_create/#driver
# cf. https://docs.docker.com/reference/cli/docker/buildx/create/#docker-container-driver
uses: docker/setup-buildx-action@v3
with:
driver: "docker"
driver: "docker-container"
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -167,10 +176,13 @@ jobs:
pull: true
# load: true # implied by "driver: docker"
push: true
cache-from: "type=gha"
cache-to: "type=gha,mode=min"
target: client
tags: |
ocamlsf/learn-ocaml-client:latest
ocamlsf/learn-ocaml-client:${{ steps.tag.outputs.tag }}
platforms: "linux/amd64,linux/arm64/v8"
labels: |
org.opencontainers.image.title=learn-ocaml-client
org.opencontainers.image.description=learn-ocaml command-line client
Expand All @@ -193,12 +205,15 @@ jobs:
id: tag
- name: Check out the repo
uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: "all"
- name: Set up Docker Buildx
# cf. https://github.com/docker/buildx/blob/master/docs/reference/buildx_build.md#image
# and https://docs.docker.com/engine/reference/commandline/buildx_create/#driver
# cf. https://docs.docker.com/reference/cli/docker/buildx/create/#docker-container-driver
uses: docker/setup-buildx-action@v3
with:
driver: "docker"
driver: "docker-container"
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -222,6 +237,7 @@ jobs:
tags: |
ocamlsf/emacs-learn-ocaml-client:latest
ocamlsf/emacs-learn-ocaml-client:${{ steps.tag.outputs.tag }}
platforms: "linux/amd64,linux/arm64/v8"
labels: |
org.opencontainers.image.title=learn-ocaml-client with emacs
org.opencontainers.image.description=learn-ocaml command-line client with emacs
Expand Down
4 changes: 2 additions & 2 deletions learn-ocaml-client.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ authors: [
"Pierrick Couderc (OCamlPro)"
]
maintainer: [
"Érik Martin-Dorel <erik.martin-dorel@irit.fr>"
"Érik Martin-Dorel <erik@martin-dorel.org>"
"Yann Régis-Gianas <yann.regis-gianas@nomadic-labs.com>"
"Louis Gesbert <louis.gesbert@ocamlpro.com>"
"Louis Gesbert <louis.gesbert@inria.fr>"
]
license: "MIT"
homepage: "https://github.com/ocaml-sf/learn-ocaml"
Expand Down
4 changes: 2 additions & 2 deletions learn-ocaml-client.opam.locked
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ description: """\
This contains the binaries to interact with the learn-ocaml
platform from the command line."""
maintainer: [
"Érik Martin-Dorel <erik.martin-dorel@irit.fr>"
"Érik Martin-Dorel <erik@martin-dorel.org>"
"Yann Régis-Gianas <yann.regis-gianas@nomadic-labs.com>"
"Louis Gesbert <louis.gesbert@ocamlpro.com>"
"Louis Gesbert <louis.gesbert@inria.fr>"
]
authors: [
"Benjamin Canou (OCamlPro)"
Expand Down
4 changes: 2 additions & 2 deletions learn-ocaml.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ authors: [
"Pierrick Couderc (OCamlPro)"
]
maintainer: [
"Érik Martin-Dorel <erik.martin-dorel@irit.fr>"
"Érik Martin-Dorel <erik@martin-dorel.org>"
"Yann Régis-Gianas <yann.regis-gianas@nomadic-labs.com>"
"Louis Gesbert <louis.gesbert@ocamlpro.com>"
"Louis Gesbert <louis.gesbert@inria.fr>"
]
license: "MIT"
homepage: "https://github.com/ocaml-sf/learn-ocaml"
Expand Down
4 changes: 2 additions & 2 deletions learn-ocaml.opam.locked
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ description: """\
This contains the binaries forming the engine for the learn-ocaml platform, and
the common files. A demo exercise repository is also provided as example."""
maintainer: [
"Érik Martin-Dorel <erik.martin-dorel@irit.fr>"
"Érik Martin-Dorel <erik@martin-dorel.org>"
"Yann Régis-Gianas <yann.regis-gianas@nomadic-labs.com>"
"Louis Gesbert <louis.gesbert@ocamlpro.com>"
"Louis Gesbert <louis.gesbert@inria.fr>"
]
authors: [
"Benjamin Canou (OCamlPro)"
Expand Down
Loading