Skip to content

Commit

Permalink
Adding bison to build-deps:v1.22 (#6)
Browse files Browse the repository at this point in the history
* Merging main branch
* Adding bison
* Bumping build-deps version
  • Loading branch information
AnHeuermann authored Nov 6, 2023
1 parent 2cf7fc7 commit f05b2fb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
timeout-minutes: 60
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Extract metadata (tags, labels) for Docker
id: meta
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
timeout-minutes: 60
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN apt-get update && apt-get build-dep -qy openmodelica
RUN apt-get install -qy \
aspell \
bibtex2html \
bison \
ccache \
clang-tools \
devscripts \
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ publish the Docker image to [https://hub.docker.com/repository/docker/anheuerman
## Build

```bash
export TAG=v1.22.1
export TAG=v1.22.2
docker build --pull --no-cache --tag build-deps:$TAG .
```

or

```bash
export TAG=v1.22.1
export TAG=v1.22.2
docker build --pull --no-cache --squash --tag build-deps:$TAG .
```

Expand All @@ -59,7 +59,7 @@ To upload to docker.openmodelica.org (you'll need write access) run:

```bash
export REGISTRY=docker.openmodelica.org
export TAG=v1.22.1
export TAG=v1.22.2
docker login
docker image tag build-deps:$TAG $REGISTRY/build-deps:$TAG
docker push $REGISTRY/build-deps:$TAG
Expand Down

0 comments on commit f05b2fb

Please sign in to comment.