Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoFresh committed Aug 16, 2021
1 parent 2f09114 commit 993edd9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.git
.idea
README.md
10 changes: 5 additions & 5 deletions .github/workflows/cached.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
# DOCKER_BUILDKIT: 1
# COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1

jobs:
build:
Expand All @@ -22,8 +22,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
Expand All @@ -34,7 +34,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build the stack
run: docker-compose build
run: docker-compose build --build-arg BUILDKIT_INLINE_CACHE=1

- name: Push the stack
run: docker-compose push
10 changes: 5 additions & 5 deletions .github/workflows/not-cached.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1
# DOCKER_BUILDKIT: 1
# COMPOSE_DOCKER_CLI_BUILD: 1

jobs:
build:
Expand All @@ -22,8 +22,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1

- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
Expand All @@ -34,7 +34,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build the stack
run: docker-compose build --build-arg BUILDKIT_INLINE_CACHE=1
run: docker-compose build

- name: Push the stack
run: docker-compose push
1 change: 0 additions & 1 deletion app1/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
node_modules
cache

0 comments on commit 993edd9

Please sign in to comment.