Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoFresh committed Aug 16, 2021
1 parent cfe2f89 commit be40652
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/cached.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/not-cached.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
# DOCKER_BUILDKIT: 1
# COMPOSE_DOCKER_CLI_BUILD: 1

Expand Down Expand Up @@ -34,7 +33,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build the stack
run: docker-compose build --verbose
run: docker-compose -f ./docker-compose.ci.not-cached.yml build --verbose

- name: Push the stack
run: docker-compose push --verbose
run: docker-compose -f ./docker-compose.ci.not-cached.yml push --verbose
19 changes: 19 additions & 0 deletions docker-compose.ci.not-cached.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: "3.9"

services:
app1:
build: ./app1
image: ghcr.io/cyanofresh/docker-compose-ga-cache-example_app1:not-cached
ports:
- "3000:3000"
environment:
NODE_ENV: production
PORT: 3000
app2:
build: ./app2
image: ghcr.io/cyanofresh/docker-compose-ga-cache-example_app2:not-cached
ports:
- "4000:4000"
environment:
NODE_ENV: production
PORT: 4000

0 comments on commit be40652

Please sign in to comment.