Skip to content

Commit

Permalink
docker: move Dockerfile under docker/
Browse files Browse the repository at this point in the history
Preparation for a second Alpine-based image.
  • Loading branch information
MrAnno committed Nov 1, 2024
1 parent 8eb2b49 commit 2bb02eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
permissions:
contents: read
packages: write
#
#
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -45,6 +45,7 @@ jobs:
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
file: docker/openwec.Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
6 changes: 3 additions & 3 deletions doc/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ Example:
$ docker pull ghcr.io/cea-sec/openwec:latest
```

### Building the image by yourself
### Building the image by yourself

A `Dockerfile` is present at the root of the repository. You can build it using:
`Dockerfiles` are present in the `docker` directory of the repository. You can build it using:

```bash
$ docker build -t openwec .
$ docker build -t openwec -f docker/openwec.Dockerfile .
```

## Using `openwec` image
Expand Down
File renamed without changes.

0 comments on commit 2bb02eb

Please sign in to comment.