feat(docker): rename .docker to docker

This commit is contained in:
Amin Faez
2025-02-26 15:44:05 +01:00
parent 43225c1fe8
commit 09f1353dcc
4 changed files with 8 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ on:
jobs: jobs:
# ---------------------------------------- # ----------------------------------------
# 1. Check if .docker/Dockerfile or .github/workflows/docker.yaml changed # 1. Check if docker/Dockerfile or .github/workflows/docker.yaml changed
# ---------------------------------------- # ----------------------------------------
check-dockerfile-changes: check-dockerfile-changes:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -28,7 +28,7 @@ jobs:
with: with:
filters: | filters: |
dockerfile: dockerfile:
- '.docker/Dockerfile' - 'docker/Dockerfile'
dockerbuild_workflow: dockerbuild_workflow:
- '.github/workflows/docker.yaml' - '.github/workflows/docker.yaml'
# -------------------------------- # --------------------------------
@@ -53,7 +53,7 @@ jobs:
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . context: .
file: .docker/Dockerfile file: docker/Dockerfile
# no pushing here, so we can test locally # no pushing here, so we can test locally
push: false push: false
# load the built image into the local Docker daemon on the runner # load the built image into the local Docker daemon on the runner
@@ -172,7 +172,7 @@ jobs:
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . context: .
file: .docker/Dockerfile file: docker/Dockerfile
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
@@ -221,7 +221,7 @@ jobs:
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . context: .
file: .docker/Dockerfile file: docker/Dockerfile
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}

View File

@@ -193,11 +193,11 @@ cd rosenpass
Build the rp image from the root of the repository as follows: Build the rp image from the root of the repository as follows:
``` ```
docker build -f .docker/Dockerfile -t ghcr.io/rosenpass/rp --target rp . docker build -f docker/Dockerfile -t ghcr.io/rosenpass/rp --target rp .
``` ```
Build the rosenpass image from the root of the repostiry with the following command: Build the rosenpass image from the root of the repostiry with the following command:
``` ```
docker build -f .docker/Dockerfile -t ghcr.io/rosenpass/rosenpass --target rosenpass . docker build -f docker/Dockerfile -t ghcr.io/rosenpass/rosenpass --target rosenpass .
``` ```

View File

@@ -85,7 +85,7 @@ Rosenpass is also available as prebuilt Docker images:
- [`ghcr.io/rosenpass/rosenpass`](https://github.com/rosenpass/rosenpass/pkgs/container/rosenpass) - [`ghcr.io/rosenpass/rosenpass`](https://github.com/rosenpass/rosenpass/pkgs/container/rosenpass)
- [`ghcr.io/rosenpass/rp`](https://github.com/rosenpass/rosenpass/pkgs/container/rp) - [`ghcr.io/rosenpass/rp`](https://github.com/rosenpass/rosenpass/pkgs/container/rp)
For details on how to use these images, refer to the [Docker usage guide](.docker/USAGE.md). For details on how to use these images, refer to the [Docker usage guide](docker/USAGE.md).
# Mirrors # Mirrors