-
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
- Loading branch information
1 parent
1d57f60
commit 2841b2d
Showing
3 changed files
with
23 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +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/]. | ||
[Jenkins](https://test.openmodelica.org/jenkins/). | ||
|
||
## Build | ||
|
||
```bash | ||
export TAG=v1.21.2 | ||
export TAG=v1.21.3 | ||
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. | ||
|
||
Otherwise run: | ||
To do it manually run: | ||
|
||
```bash | ||
export REGISTRY=anheuermann | ||
export TAG=v1.21.2 | ||
export REGISTRY=openmodelica | ||
export TAG=v1.21.3 | ||
docker login | ||
docker image tag build-deps:$(VERSION) $(REGISTRY)/build-deps:$TAG | ||
docker image tag build-deps:$TAG $REGISTRY/build-deps:$TAG | ||
docker push $REGISTRY/build-deps:$TAG | ||
``` | ||
|
||
## License | ||
|
||
The Dockerfile is taken from [https://github.com/OpenModelica/OpenModelicaBuildScripts](OpenModelica/OpenModelicaBuildScripts). | ||
No idea what license applies... | ||
See [LICENSE.md](./LICENSE.md). |