-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving repo from AnHeuermann to OpenModelica
- Updating CI - Bumping version - Fixing Dockerfile deb-src
- Loading branch information
1 parent
61b3196
commit 0706511
Showing
5 changed files
with
20 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,35 @@ | ||
# OpenModelica build-deps Docker Image | ||
|
||
[](https://github.com/AnHeuermann/build-deps/actions/workflows/build.yml) | ||
[](https://github.com/AnHeuermann/build-deps/actions/workflows/publish.yml) | ||
[](https://github.com/OpenModelica/build-deps/actions/workflows/build.yml) | ||
[](https://github.com/OpenModelica/build-deps/actions/workflows/publish.yml) | ||
|
||
The Docker image used to build and deploy | ||
The Docker images used to build and deploy | ||
[OpenModelica](https://github.com/OpenModelica/OpenModelica) with | ||
[Jenkins](https://test.openmodelica.org/jenkins/). | ||
|
||
## Structure of the Repository | ||
|
||
Each minor version of the Dockerfile corresponds to a OpenModelica minor version and has | ||
its own branch. | ||
Each branch has tags for each patch version. | ||
|
||
When creating a release form a tag the [workflow](./.github/workflows/publish.yml) will | ||
publish the Docker image to [https://hub.docker.com/repository/docker/anheuermann/openmodelica-build-deps](anheuermann/openmodelica-build-deps). | ||
|
||
### Ubuntu based Images | ||
|
||
- 22.04 Jammy: [releases/v1.22](https://github.com/AnHeuermann/build-deps/tree/releases/v1.22) | ||
- 20.04 Focal: [releases/v1.21](https://github.com/AnHeuermann/build-deps/tree/releases/v1.21) | ||
- 18.04 Bionic + cmake: [releases/v1.16-cmake](https://github.com/AnHeuermann/build-deps/tree/releases/v1.16-cmake) | ||
- 18.04 Bionic: [releases/v1.16](https://github.com/AnHeuermann/build-deps/tree/releases/v1.16) | ||
|
||
### Debian based Images | ||
|
||
- 12 Bookworm | ||
- 11 Bullseye | ||
|
||
### CentOS based Images | ||
|
||
- CentOS7 | ||
|
||
|
||
## Build | ||
|
||
```bash | ||
export TAG=v1.22.0 | ||
export TAG=v1.22.3-qtwebengine | ||
docker build --pull --no-cache --tag build-deps:$TAG . | ||
``` | ||
|
||
## Upload | ||
|
||
The [publish.yml](./.github/workflows/publish.yml) workflow will build and upload the | ||
Docker image to [https://hub.docker.com/repository/docker/anheuermann/openmodelica-build-deps](anheuermann/openmodelica-build-deps) | ||
Docker image to [openmodelica/build-deps](https://hub.docker.com/repository/docker/openmodelica/build-deps) | ||
for each release. | ||
|
||
To do it manually run: | ||
|
||
```bash | ||
export REGISTRY=anheuermann | ||
export TAG=v1.22.0 | ||
export REGISTRY=openmodelica | ||
export TAG=v1.22.3-qtwebengine | ||
docker login | ||
docker image tag build-deps:$TAG $REGISTRY/openmodelica-build-deps:$TAG | ||
docker push $REGISTRY/openmodelica-build-deps:$TAG | ||
docker image tag build-deps:$TAG $REGISTRY/build-deps:$TAG | ||
docker push $REGISTRY/build-deps:$TAG | ||
``` | ||
|
||
## License | ||
|
||
The original Dockerfile are taken from [https://github.com/OpenModelica/OpenModelicaBuildScripts](OpenModelica/OpenModelicaBuildScripts). | ||
See [LICENSE.md](./LICENSE.md). |