mirror of
https://github.com/openziti/zrok.git
synced 2024-11-07 08:44:14 +01:00
organize Docker Compose projects
This commit is contained in:
parent
eba4338f7f
commit
aa54643e1e
12
.github/workflows/publish-docker-images.yml
vendored
12
.github/workflows/publish-docker-images.yml
vendored
@ -87,11 +87,11 @@ jobs:
|
||||
with:
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
context: ${{ github.workspace }}/
|
||||
file: ${{ github.workspace }}/docker-images/zrok/Dockerfile
|
||||
file: ${{ github.workspace }}/docker/images/zrok/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: ${{ steps.tagprep_cli.outputs.DOCKER_TAGS }}
|
||||
build-args: |
|
||||
DOCKER_BUILD_DIR=./docker-images/zrok
|
||||
DOCKER_BUILD_DIR=./docker/images/zrok
|
||||
ARTIFACTS_DIR=./dist
|
||||
push: true
|
||||
|
||||
@ -113,7 +113,7 @@ jobs:
|
||||
# uses: docker/build-push-action@v3
|
||||
# with:
|
||||
# builder: ${{ steps.buildx.outputs.name }}
|
||||
# context: ${{ github.workspace }}/docker-images/zrok-controller/
|
||||
# context: ${{ github.workspace }}/docker/images/zrok-controller/
|
||||
# platforms: linux/amd64,linux/arm64
|
||||
# tags: ${{ steps.tagprep_ctrl.outputs.DOCKER_TAGS }}
|
||||
# build-args: |
|
||||
@ -135,7 +135,7 @@ jobs:
|
||||
# uses: docker/build-push-action@v3
|
||||
# with:
|
||||
# builder: ${{ steps.buildx.outputs.name }}
|
||||
# context: ${{ github.workspace }}/docker-images/zrok-frontend/
|
||||
# context: ${{ github.workspace }}/docker/images/zrok-frontend/
|
||||
# platforms: linux/amd64,linux/arm64
|
||||
# tags: ${{ steps.tagprep_frontend.outputs.DOCKER_TAGS }}
|
||||
# build-args: |
|
||||
@ -157,7 +157,7 @@ jobs:
|
||||
# uses: docker/build-push-action@v3
|
||||
# with:
|
||||
# builder: ${{ steps.buildx.outputs.name }}
|
||||
# context: ${{ github.workspace }}/docker-images/zrok-share/
|
||||
# context: ${{ github.workspace }}/docker/images/zrok-share/
|
||||
# platforms: linux/amd64,linux/arm64
|
||||
# tags: ${{ steps.tagprep_share.outputs.DOCKER_TAGS }}
|
||||
# build-args: |
|
||||
@ -179,7 +179,7 @@ jobs:
|
||||
# uses: docker/build-push-action@v3
|
||||
# with:
|
||||
# builder: ${{ steps.buildx.outputs.name }}
|
||||
# context: ${{ github.workspace }}/docker-images/zrok-access/
|
||||
# context: ${{ github.workspace }}/docker/images/zrok-access/
|
||||
# platforms: linux/amd64,linux/arm64
|
||||
# tags: ${{ steps.tagprep_access.outputs.DOCKER_TAGS }}
|
||||
# build-args: |
|
||||
|
@ -15,7 +15,7 @@ docker buildx build \
|
||||
--build-arg gid=$GID \
|
||||
--build-arg golang_version=$(grep -Po '^go\s+\K\d+\.\d+(\.\d+)?$' go.mod) \
|
||||
--load \
|
||||
./docker-images/cross-build/
|
||||
./docker/images/cross-build/
|
||||
```
|
||||
|
||||
## Run the Container to Build Executables for the Desired Architectures
|
@ -20,7 +20,7 @@ First, let's create the private share.
|
||||
|
||||
1. Make a folder on your computer to use as a Docker Compose project for your zrok private share.
|
||||
1. In your terminal, change directory to your newly-created project folder.
|
||||
1. Download [the zrok-private-share Docker Compose project file](../../../docker-images/zrok-private-share/docker-compose.yml) into your new project folder and make sure it's named `docker-compose.yml`.
|
||||
1. Download [the zrok-private-share Docker Compose project file](../../../docker/compose/zrok-private-share/docker-compose.yml) into your new project folder and make sure it's named `docker-compose.yml`.
|
||||
1. Copy your zrok environment token from the zrok web console to your clipboard and paste it in a file named `.env` in the same folder like this:
|
||||
|
||||
```bash
|
||||
@ -48,7 +48,7 @@ Now that we have a private share we can access it with zrok running in Docker. N
|
||||
|
||||
1. Make a folder on your computer to use as a Docker Compose project for your zrok private access.
|
||||
1. In your terminal, change directory to your newly-created project folder.
|
||||
1. Download [the zrok-private-access Docker Compose project file](../../../docker-images/zrok-private-access/docker-compose.yml) into your new project folder and make sure it's named `docker-compose.yml`.
|
||||
1. Download [the zrok-private-access Docker Compose project file](../../../docker/compose/zrok-private-access/docker-compose.yml) into your new project folder and make sure it's named `docker-compose.yml`.
|
||||
1. Copy your zrok environment token from the zrok web console to your clipboard and paste it in a file named `.env` in the same folder like this:
|
||||
|
||||
```bash
|
||||
|
@ -15,7 +15,7 @@ To follow this guide you will need [Docker](https://docs.docker.com/get-docker/)
|
||||
|
||||
1. Make a folder on your computer to use as a Docker Compose project for your zrok public share.
|
||||
1. In your terminal, change directory to your newly-created project folder.
|
||||
1. Download [the zrok-public-share Docker Compose project file](../../../docker-images/zrok-public-share/docker-compose.yml) into your new project folder.
|
||||
1. Download [the zrok-public-share Docker Compose project file](../../../docker/compose/zrok-public-share/docker-compose.yml) into your new project folder.
|
||||
1. Copy your zrok environment token from the zrok web console to your clipboard and paste it in a file named `.env` in the same folder like this:
|
||||
|
||||
```bash
|
||||
|
Loading…
Reference in New Issue
Block a user