Skip to content

Commit

Permalink
Delete legacy cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonxh committed Oct 2, 2024
1 parent 91db064 commit b36e3a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,11 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Bake and populate builder-base cache
- name: Bake and populate builder-base and runtime-base cache
if: github.event_name == 'push'
uses: docker/bake-action@v5
with:
targets: cache-builder-base
env:
PLATFORM: ${{ matrix.platform }}

- name: Bake and populate runtime-base cache
if: github.event_name == 'push'
uses: docker/bake-action@v5
with:
targets: cache-runtime-base
targets: cache-builder-base,cache-runtime-base
env:
PLATFORM: ${{ matrix.platform }}

Expand Down
6 changes: 0 additions & 6 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ variable "_PLATFORM_TAG" {
default = regex_replace(PLATFORM, "/", "-")
}

# TODO - delete
variable "_REMOTE_CACHE_LEGACY" {
default = "type=registry,ref=ghcr.io/shinamicorp/aptos:cache-${_PLATFORM_TAG}"
}

variable "_REMOTE_CACHE_BUILDER_BASE" {
default = "type=registry,ref=ghcr.io/shinamicorp/aptos:cache-builder-base-${_PLATFORM_TAG}"
}
Expand Down Expand Up @@ -45,7 +40,6 @@ target "_common" {
_REMOTE_CACHE_BUILDER_BASE,
_REMOTE_CACHE_RUNTIME_BASE,
_REMOTE_CACHE_BINARIES,
_REMOTE_CACHE_LEGACY,
]
}

Expand Down

0 comments on commit b36e3a1

Please sign in to comment.