Skip to content

ci(docker): Replace LABEL Dockerfile commands with labels: (GHA) #551

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2023

Conversation

erikmd
Copy link
Member

@erikmd erikmd commented May 16, 2023

Description

This cleanup patch sets labels in a more uniform way, and contributes to earn several (small) layers in the resulting images.

Related: docker/build-push-action#863

Checklist

Note to maintainers

  • Read this wiki page.
  • Make sure the PR has a milestone.
  • Assign yourself before merging.
  • Either do a regular merge:
    • for PRs containing several commits following conventional-commits,
    • or for PRs containing 1 commit shared with a later PR (to preserve the SHA1)
  • Or do a squash-merge:
    • for PRs containing only 1 commit (not shared with a later PR),
    • or for PRs containing several commits that need not be kept in the history;
    • Update the commit message header with a conventional-commit type,
    • Add a footer Close #… if a related issue exists.

This cleanup patch sets labels in a more uniform way, and contributes
to earn several (small) layers in the resulting images.

Related: docker/build-push-action#863
Close ocaml-sf#545
@erikmd erikmd self-assigned this May 16, 2023
@erikmd erikmd merged commit ce8c006 into ocaml-sf:master May 16, 2023
@erikmd erikmd deleted the cleanup-labels branch May 16, 2023 16:40
@erikmd erikmd added this to the learn-ocaml 1.0.0 milestone May 16, 2023
erikmd added a commit that referenced this pull request May 16, 2023
erikmd added a commit to pfitaxel/learn-ocaml that referenced this pull request Jun 15, 2023
* master: (146 commits)
  chore(docker): Fix org.opencontainers.image.source label
  ci(docker): Replace `LABEL` Dockerfile commands with `labels:` (GHA) (ocaml-sf#551)
  fix(i18n): fix escaping issue in i18n
  fix(ui): update fr translation
  feat(ui): add some inline documentation to the teacher tab
  feat(ui): teacher tab: highlight the "apply" button on unsaved changes
  fix(ui): show different status for open and closed assigned exercises
  feat(ui): allow partial CSV export
  feat(ui): allow name input on teacher token creation
  feat(ui): better string input dialog
  chore: Add 2 checkboxes in PULL_REQUEST_TEMPLATE.md
  fix(web-app): Fix `process_html_file` w.r.t. `base_url`
  refactor(partition-view): Move adhoc CSS code to learnocaml_partition_view.css
  ci(docker): Fix build-args syntax (docker/build-push-action@v4)
  ci(docker): Fix GHA input name: s/build_args/build-args/
  ci(docker): Use docker/build-push-action@v4 (ocaml-sf#544)
  ci(macos): Run the `macOS` workflow as well in the weekly CI build
  feat(partition-view): Add a selector to show (tokens, nicks, or anon IDs) (ocaml-sf#540)
  feat(web-app): Add feedback button with internationalized tooltip
  feat(js_utils): Add HTMLElement.title support
  ...

 Conflicts:
	.ci-macosx.sh
	.github/workflows/static-builds.yml
	ci/docker-emacs-learn-ocaml-client/.emacs
	dune-project
	learn-ocaml-client.opam
	learn-ocaml.opam
	learn-ocaml.opam.locked
	scripts/static-build.sh
	src/app/learnocaml_common.ml
	src/app/learnocaml_common.mli
	src/app/learnocaml_description_main.ml
	src/app/learnocaml_index_main.ml
	src/app/learnocaml_teacher_tab.ml
	src/app/server_caller.ml
	src/main/dune
	src/main/learnocaml_client.ml
	src/main/learnocaml_server_main.ml
	src/main/linking_flags.sh
	src/server/learnocaml_server.ml
	src/state/learnocaml_api.ml
	src/state/learnocaml_api.mli
	src/utils/dune
	static/css/learnocaml_main.css
	static/index.html
	translations/fr.po
erikmd added a commit to pfitaxel/learn-ocaml that referenced this pull request Jun 18, 2023
* master:
  chore(docker): Fix org.opencontainers.image.source label
  ci(docker): Replace `LABEL` Dockerfile commands with `labels:` (GHA) (ocaml-sf#551)
  fix(i18n): fix escaping issue in i18n
  fix(ui): update fr translation
  feat(ui): add some inline documentation to the teacher tab
  feat(ui): teacher tab: highlight the "apply" button on unsaved changes
  fix(ui): show different status for open and closed assigned exercises
  feat(ui): allow partial CSV export
  feat(ui): allow name input on teacher token creation
  feat(ui): better string input dialog

Conflicts:
  translations/fr.po
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minor bug: docker/build-and-push does not include labels
1 participant