Skip to content

Commit

Permalink
chore: builds
Browse files Browse the repository at this point in the history
  • Loading branch information
evereq committed Feb 26, 2024
1 parent 7a8da94 commit 423057e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/docker-build-publish-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
everco/gauzy-api-demo:latest
registry.digitalocean.com/ever/gauzy-api-demo:latest
${{ secrets.CW_DOCKER_REGISTRY }}/ever-co/gauzy-api-demo:latest
cache-from: type=registry,ref=everco/gauzy-api-demo:latest
cache-from: type=registry,ref=ghcr.io/ever-co/gauzy-api-demo:latest
cache-to: type=inline
build-args: |
NODE_ENV=development
Expand Down Expand Up @@ -98,22 +98,27 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
- name: Build
uses: docker/build-push-action@v5
with:
context: .
file: ./.deploy/webapp/Dockerfile
load: true
platforms: linux/amd64
tags: |
ghcr.io/ever-co/gauzy-webapp-demo:latest
everco/gauzy-webapp-demo:latest
registry.digitalocean.com/ever/gauzy-webapp-demo:latest
${{ secrets.CW_DOCKER_REGISTRY }}/ever-co/gauzy-webapp-demo:latest
cache-from: type=registry,ref=everco/gauzy-webapp-demo:latest
cache-from: type=registry,ref=ghcr.io/ever-co/gauzy-webapp-demo:latest
cache-to: type=inline
build-args: |
NODE_ENV=development
- name: Docker images list
run: |
sudo docker image list
- name: Login to DockerHub
uses: docker/login-action@v3
with:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/docker-build-publish-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
everco/gauzy-api:latest
registry.digitalocean.com/ever/gauzy-api:latest
${{ secrets.CW_DOCKER_REGISTRY }}/ever-co/gauzy-api:latest
cache-from: type=registry,ref=everco/gauzy-api:latest
cache-from: type=registry,ref=ghcr.io/ever-co/gauzy-api:latest
cache-to: type=inline
build-args: |
NODE_ENV=production
Expand Down Expand Up @@ -98,22 +98,27 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
- name: Build
uses: docker/build-push-action@v5
with:
context: .
file: ./.deploy/webapp/Dockerfile
load: true
platforms: linux/amd64
tags: |
ghcr.io/ever-co/gauzy-webapp:latest
everco/gauzy-webapp:latest
registry.digitalocean.com/ever/gauzy-webapp:latest
${{ secrets.CW_DOCKER_REGISTRY }}/ever-co/gauzy-webapp:latest
cache-from: type=registry,ref=everco/gauzy-webapp:latest
cache-from: type=registry,ref=ghcr.io/ever-co/gauzy-webapp:latest
cache-to: type=inline
build-args: |
NODE_ENV=production
- name: Docker images list
run: |
sudo docker image list
- name: Login to DockerHub
uses: docker/login-action@v3
with:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/docker-build-publish-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
everco/gauzy-api-stage:latest
registry.digitalocean.com/ever/gauzy-api-stage:latest
${{ secrets.CW_DOCKER_REGISTRY }}/ever-co/gauzy-api-stage:latest
cache-from: type=registry,ref=everco/gauzy-api-stage:latest
cache-from: type=registry,ref=ghcr.io/ever-co/gauzy-api-stage:latest
cache-to: type=inline
build-args: |
NODE_ENV=development
Expand Down Expand Up @@ -98,22 +98,27 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
- name: Build
uses: docker/build-push-action@v5
with:
context: .
file: ./.deploy/webapp/Dockerfile
load: true
platforms: linux/amd64
tags: |
ghcr.io/ever-co/gauzy-webapp-stage:latest
everco/gauzy-webapp-stage:latest
registry.digitalocean.com/ever/gauzy-webapp-stage:latest
${{ secrets.CW_DOCKER_REGISTRY }}/ever-co/gauzy-webapp-stage:latest
cache-from: type=registry,ref=everco/gauzy-webapp-stage:latest
cache-from: type=registry,ref=ghcr.io/ever-co/gauzy-webapp-stage:latest
cache-to: type=inline
build-args: |
NODE_ENV=development
- name: Docker images list
run: |
sudo docker image list
- name: Login to DockerHub
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit 423057e

Please sign in to comment.