workflow cache
Build & Push Docker image / build-and-push (push) Has been cancelled

This commit is contained in:
2025-11-08 10:19:58 +10:30
parent 301525e198
commit c4c15dbada
+10
View File
@@ -24,6 +24,14 @@ jobs:
# If you want to use it as an output of this step: # If you want to use it as an output of this step:
echo "lowercase=$lower_value" >> $GITHUB_OUTPUT echo "lowercase=$lower_value" >> $GITHUB_OUTPUT
- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build image - name: Build image
id: build id: build
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
@@ -39,3 +47,5 @@ jobs:
build-args: | build-args: |
# Add any build args here # Add any build args here
# ARG_NAME=VALUE # ARG_NAME=VALUE
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache