Skip to content

Commit

Permalink
chore: update docker image reference. moving from fox1t to ducktors
Browse files Browse the repository at this point in the history
  • Loading branch information
matteovivona committed Mar 21, 2023
1 parent a1423ce commit 27484a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,32 +86,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get package version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
with:
path: .
- name: Set correct environment
run: |
TAG=${{ steps.package-version.outputs.current-version}}
echo "TAG=$TAG" >> "$GITHUB_ENV"
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: fox1t/turborepo-remote-cache
flavor: latest=true
tags: type=raw,value=${{ env.TAG }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
- name: Test commit Build
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/x86_64,linux/arm64
push: false
tags: ${{ steps.meta.outputs.tags }}
tags: ducktors/turborepo-remote-cache:local
cache-from: |
fox1t/turborepo-remote-cache:cache
ducktors/turborepo-remote-cache:cache
4 changes: 2 additions & 2 deletions docs/deployment-environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ __Note: Local storage isn't supported for this deployment method.__
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fducktors%2Fturborepo-remote-cache&env=NODE_ENV,TURBO_TOKEN,STORAGE_PROVIDER,STORAGE_PATH,S3_ACCESS_KEY,S3_SECRET_KEY,S3_REGION,S3_ENDPOINT&envDescription=The%20server%20needs%20several%20credentials.%20The%20required%20environmental%20variables%20can%20be%20found%20here%3A&envLink=https%3A%2F%2Fgithub.com%2Fducktors%2Fturborepo-remote-cache%23readme)

## Deploy on Docker
You can find the image on the [dockerhub](https://hub.docker.com/r/fox1t/turborepo-remote-cache).
You can find the image on the [dockerhub](https://hub.docker.com/r/ducktors/turborepo-remote-cache).

1. create an `.env` file, containing all of the env vars you need. Check [environment variables](https://ducktors.github.io/turborepo-remote-cache/environment-variables) for more info.
```sh
Expand All @@ -39,7 +39,7 @@ S3_ENDPOINT=
```
2. run the image using the `.env` file created on the step one.
```sh
docker run --env-file=.env -p 3000:3000 fox1t/turborepo-remote-cache
docker run --env-file=.env -p 3000:3000 ducktors/turborepo-remote-cache
```

## Deploy on DigitalOcean
Expand Down

0 comments on commit 27484a3

Please sign in to comment.