Test GHA cache
Some checks failed
Push Workflows / leptos-test (push) Has been cancelled
Push Workflows / docs (push) Has been cancelled
Push Workflows / nix-build (push) Has been cancelled
Push Workflows / build (push) Has been cancelled
Push Workflows / test (push) Has been cancelled
Push Workflows / docker-build (push) Failing after 12m23s

This commit is contained in:
Ethan Girouard 2024-12-18 04:14:55 +00:00
parent be861ff1b5
commit f5c28d83ce

View File

@ -34,16 +34,16 @@ jobs:
with: with:
push: true push: true
tags: "${{ steps.get-image-name.outputs.IMAGE_NAME }}:${{ gitea.sha }}" tags: "${{ steps.get-image-name.outputs.IMAGE_NAME }}:${{ gitea.sha }}"
cache-from: type=registry,ref=${{ steps.get-image-name.outputs.IMAGE_NAME }}:${{ gitea.sha }} cache-from: type=gha
cache-to: type=inline cache-to: type=gha,mode=max
- name: Build and push Docker image with "latest" tag - name: Build and push Docker image with "latest" tag
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
if: gitea.ref == 'refs/heads/main' if: gitea.ref == 'refs/heads/main'
with: with:
push: true push: true
tags: "${{ steps.get-image-name.outputs.IMAGE_NAME }}:latest" tags: "${{ steps.get-image-name.outputs.IMAGE_NAME }}:latest"
cache-from: type=registry,ref=${{ steps.get-image-name.outputs.IMAGE_NAME }}:latest cache-from: type=gha
cache-to: type=inline cache-to: type=gha,mode=max
test: test:
runs-on: libretunes-cicd runs-on: libretunes-cicd