Update .gitea/workflows/push.yaml
Some checks failed
Push Workflows / docs (push) Has been cancelled
Push Workflows / nix-build (push) Has been cancelled
Push Workflows / env (push) Has been cancelled
Push Workflows / build (push) Has been cancelled
Push Workflows / leptos-test (push) Has been cancelled
Push Workflows / test (push) Has been cancelled
Push Workflows / docker-build (push) Failing after 40s

This commit is contained in:
Ethan Girouard 2024-12-20 18:29:34 +00:00
parent f2890825ec
commit 504f04784d

View File

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