Skip to content

Commit

Permalink
Remove caching from docker builds
Browse files Browse the repository at this point in the history
There are still some bugs in the `gha` cache backend that are causing
builds to fail:

- docker/buildx#681
- docker/build-push-action#422

Removing caching until upstream resolves these issues.
  • Loading branch information
lopopolo committed Aug 9, 2021
1 parent a3d0e11 commit 0c2cf68
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/docker-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ jobs:
build-args: |
ARTICHOKE_NIGHTLY_VER=${{ steps.latest.outputs.commit }}
RUST_VERSION=${{ steps.rust_toolchain.outputs.version }}
cache-from: type=gha,scope=docker-nightly-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-v1
cache-to: type=gha,mode=max,scope=docker-nightly-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-v1
debian-slim:
name: Debian Slim
Expand Down Expand Up @@ -115,8 +113,6 @@ jobs:
build-args: |
ARTICHOKE_NIGHTLY_VER=${{ steps.latest.outputs.commit }}
RUST_VERSION=${{ steps.rust_toolchain.outputs.version }}
cache-from: type=gha,scope=docker-nightly-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-v1
cache-to: type=gha,mode=max,scope=docker-nightly-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-v1
alpine:
name: Alpine
Expand Down Expand Up @@ -167,5 +163,3 @@ jobs:
build-args: |
ARTICHOKE_NIGHTLY_VER=${{ steps.latest.outputs.commit }}
RUST_VERSION=${{ steps.rust_toolchain.outputs.version }}
cache-from: type=gha,scope=docker-nightly-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-v1
cache-to: type=gha,mode=max,scope=docker-nightly-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-v1
6 changes: 0 additions & 6 deletions .github/workflows/dockerfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
context: .
file: ubuntu/focal/Dockerfile
push: false
cache-from: type=gha,scope=docker-defaults-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-v1
cache-to: type=gha,mode=max,scope=docker-defaults-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-v1

debian-slim:
name: Debian Slim
Expand All @@ -46,8 +44,6 @@ jobs:
context: .
file: debian/bullseye/slim/Dockerfile
push: false
cache-from: type=gha,scope=docker-defaults-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-v1
cache-to: type=gha,mode=max,scope=docker-defaults-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-v1

alpine:
name: Alpine
Expand All @@ -65,5 +61,3 @@ jobs:
context: .
file: alpine/Dockerfile
push: false
cache-from: type=gha,scope=docker-defaults-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-v1
cache-to: type=gha,mode=max,scope=docker-defaults-${{ github.workflow }}-${{ github.job }}-${{ runner.os }}-v1

0 comments on commit 0c2cf68

Please sign in to comment.