Skip to content
/ icu Public
forked from unicode-org/icu

The new home of the ICU project source code.

License

Notifications You must be signed in to change notification settings

sven-oly/icu

 
 

Repository files navigation

How to create a Fedora docker image

For the general process and concepts see: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry

For our case I replaced the generic names with our own owner / repo / names / etc.

Run

docker login ghcr.io

When prompted use these:

  • User: the github user
  • Password: the github token

Update the timestamp (20240929) with the current date, ISO style:

docker build --tag ghcr.io/unicode-org/fedora-docker-gcr:20240929 -f Dockerfile_fedora .
docker push ghcr.io/unicode-org/fedora-docker-gcr:20240929

For more info see: https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-docker-images

and: https://stackoverflow.com/questions/64033686/how-can-i-use-private-docker-image-in-github-actions

To consider: generate and publish the docker image from a GitHub action.


The DOCKER_CONTAINER_USER_NAME and DOCKER_CONTAINER_REGISTRY_TOKEN used in the action file for user and password are secrets already created.

They can be any GitHub user + token with the proper access rights. Right now this is a token of the icu-robot account.

About

The new home of the ICU project source code.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 44.6%
  • Java 38.8%
  • C 14.0%
  • Makefile 0.6%
  • Perl 0.6%
  • Python 0.4%
  • Other 1.0%