Skip to content

Task: port multi-platform support from deploy-master.yml to release.yml #626

@erikmd

Description

@erikmd

Related user(s):

@CJs0800 @AltGr @yurug

Related issue(s) or PR(s):

Related project scope(s):

build

The problem:

% docker run --rm -v "$PWD/demo-repository:/repository" -p 8080:8080 ocamlsf/learn-ocaml:1.0.0  # old release

WARNING: The requested image\'s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Learnocaml v.1.0.0 running.
Updating app at ./www
Learnocaml server v.1.0.0 starting on port 8080
Initial teacher token created: X-DJU-OCG-JA9-4SS
^CSIGINT caught: stopping

% docker pull ocamlsf/learn-ocaml:master
% docker run --rm -v "$PWD/demo-repository:/repository" -p 8080:8080 ocamlsf/learn-ocaml:master

Learnocaml v1.1.0 running.
Updating app at ./www
Learnocaml server v1.1.0 starting on port 8080
Initial teacher token created: X-USS-1NS-ZSJ-URO
^CSIGINT caught: stopping
  • However, this change only deals with the workflow deploy-master.yml

Wanted solution:

  • To Do: also apply this change to release.yml (the workflow file for tags)

Considered alternatives:

N/A

Additional context:

No response

Metadata

Metadata

Assignees

Labels

kind: enhancementEnhancement to an existing user-facing feature.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions