Remove the weird ass cache stuff. Thanks stack overflow!
All checks were successful
Docker Deploy / build-and-push (push) Successful in 5m11s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 5m11s
This commit is contained in:
parent
a50e73bb55
commit
f859a12d2c
2 changed files with 0 additions and 5 deletions
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
@ -30,8 +30,6 @@ jobs:
|
|||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
cache-from: type=registry,ref=${{ secrets.REPO_HOST }}/${{ github.repository_owner }}/${{ github.event.repository.name }}:buildcache
|
||||
cache-to: type=registry,ref=${{ secrets.REPO_HOST }}/${{ github.repository_owner }}/${{ github.event.repository.name }}:buildcache,mode=max
|
||||
tags: |
|
||||
${{ secrets.REPO_HOST }}/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ github.sha }}
|
||||
${{ secrets.REPO_HOST }}/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest
|
||||
|
|
|
@ -10,9 +10,6 @@ COPY . .
|
|||
# Create node_modules directory and install dependencies
|
||||
RUN deno cache -r main.ts
|
||||
|
||||
# Pre-cache npm deps with proper node_modules setup
|
||||
RUN deno task npm:init || echo "No npm:init task defined, continuing"
|
||||
|
||||
# Build Fresh application in a more controlled way (without task)
|
||||
RUN deno run -A dev.ts build || deno run -A --unstable-worker-options --node-modules-dir main.ts build
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue