[ci] rename workflow & add cache

This commit is contained in:
Andriy
2023-07-28 19:24:04 +03:00
parent 04b793b942
commit c8951aad45
+3 -1
View File
@@ -1,4 +1,4 @@
name: ci name: Build on Push
on: on:
push: push:
@@ -37,6 +37,8 @@ jobs:
push: ${{ github.ref == 'refs/heads/dev' }} push: ${{ github.ref == 'refs/heads/dev' }}
tags: ${{ secrets.REGISTRY_URL }}/west/telegram-bot:latest, tags: ${{ secrets.REGISTRY_URL }}/west/telegram-bot:latest,
${{ secrets.REGISTRY_URL }}/west/telegram-bot:${{ steps.commit_sha.outputs.sha_short }} ${{ secrets.REGISTRY_URL }}/west/telegram-bot:${{ steps.commit_sha.outputs.sha_short }}
cache-from: type=gha
cache-to: type=gha,mode=max
#- #-
# name: Redeploy container # name: Redeploy container
# uses: fjogeleit/http-request-action@v1 # uses: fjogeleit/http-request-action@v1