3 Commits

Author SHA1 Message Date
c621e392f4 fix message deploy 2026-02-20 16:47:23 +03:00
1540fce056 Merge pull request 'fix: cache only when build succesfull' (#59) from fix-build-cache into main
Reviewed-on: #59
Reviewed-by: nikitos <andriyanov@me.com>
2025-12-30 14:30:27 +00:00
0dcd1b5a97 fix: cache only when build succesfull 2025-12-30 07:24:30 +00:00
2 changed files with 3 additions and 3 deletions

View File

@@ -99,7 +99,7 @@ jobs:
type=local,dest=/cache/${{ github.repository }}/buildx-cache-new,mode=max
- name: Move new cache if it exists
if: always()
if: steps.build-step.outcome == 'success'
run: |
mkdir -p /cache/${{ github.repository }}
if [ -d /cache/${{ github.repository }}/buildx-cache-new ]; then
@@ -111,7 +111,7 @@ jobs:
fi
- name: Save Docker layer cache
if: always()
if: steps.build-step.outcome == 'success'
uses: actions/cache/save@v4
with:
path: /cache/${{ github.repository }}/buildx-cache

View File

@@ -71,4 +71,4 @@ jobs:
VK_TEAMS_CHAT_ID: ${{ secrets.VK_TEAMS_CHAT_ID }}
with:
result: ${{ steps.k8s_deploy.outcome }}
name: k8s deploy ${{ inputs.environment }} tag ${{ inputs.tag }}
name: deploy ${{ inputs.environment }} tag ${{ inputs.tag }}