Skip to content

Commit

Permalink
Disable Docker Build Cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
sopac committed Feb 13, 2025
1 parent 49dd409 commit 336fb78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build-test-docker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name : Scripts Test and Push
name: Scripts Test and Push

env:
REGISTRY: ghcr.io
Expand All @@ -17,7 +17,6 @@ jobs:
test:
runs-on: ubuntu-latest
steps:

- name: Checkout code
uses: actions/checkout@v4
with:
Expand All @@ -41,8 +40,8 @@ jobs:
context: .
push: false
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test
cache-from: type=gha
cache-to: type=gha,mode=max
#cache-from: type=gha
#cache-to: type=gha,mode=max

# - name: Run tests in image
# run: |
Expand All @@ -58,7 +57,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand All @@ -84,5 +83,5 @@ jobs:
context: .
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.get_version.outputs.VERSION }},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max
#cache-from: type=gha
#cache-to: type=gha,mode=max
4 changes: 2 additions & 2 deletions workflow/intertidal-annual-0-0-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ spec:
- name: base-product
value: "s2ls"
- name: image-tag
value: "latest" # The Docker image and code version
value: "0.0.1-7-g49dd409" # The Docker image and code version
- name: bucket
value: "dep-public-staging" # The bucket to store the data
- name: regions
value: "NCL" # Comma separated list "FJI,TON" or 'ALL'
value: "FJI" # Comma separated list "FJI,TON" or 'ALL'
- name: years
value: "2024" # One year "2022", or a period "2020-2021"
#- name: overwrite
Expand Down

0 comments on commit 336fb78

Please sign in to comment.