Minor fixes to gitea actions
Some checks failed
release / Build and push Docker image (push) Failing after 2m53s
Some checks failed
release / Build and push Docker image (push) Failing after 2m53s
This commit is contained in:
@@ -24,15 +24,15 @@ jobs:
|
|||||||
registry: git.mahdium.ir
|
registry: git.mahdium.ir
|
||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
password: ${{ secrets.PASSWORD }}
|
password: ${{ secrets.PASSWORD }}
|
||||||
- name: Cache Docker layers
|
# - name: Cache Docker layers
|
||||||
id: cache-layers
|
# id: cache-layers
|
||||||
uses: actions/cache@v3
|
# uses: actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: /tmp/.buildx-cache
|
# path: /tmp/.buildx-cache
|
||||||
key: ${{ runner.os }}-buildx-${{ github.ref }}-${{ github.sha }}
|
# key: ${{ runner.os }}-buildx-${{ github.ref }}-${{ github.sha }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
${{ runner.os }}-buildx-${{ github.ref }}-
|
# ${{ runner.os }}-buildx-${{ github.ref }}-
|
||||||
${{ runner.os }}-buildx-
|
# ${{ runner.os }}-buildx-
|
||||||
|
|
||||||
- name: Extract Docker metadata
|
- name: Extract Docker metadata
|
||||||
id: meta
|
id: meta
|
||||||
@@ -46,5 +46,5 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=registry,ref=user/app:latest
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
cache-to: type=inline
|
||||||
|
Reference in New Issue
Block a user