Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 3c66be3

Browse files
committed
feat: extend Docker tags for contracts
Signed-off-by: Jawad Tariq <sjcool420@hotmail.co.uk>
1 parent cf71438 commit 3c66be3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/contract-docker-utils.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
REGISTRY: ghcr.io
12-
IMAGE_NAME: ${{ github.repository }}
12+
IMAGE_NAME: topos-smart-contracts
1313

1414
jobs:
1515
docker:
@@ -56,6 +56,6 @@ jobs:
5656
tags: ${{ steps.meta.outputs.tags }}
5757
labels: ${{ steps.meta.outputs.labels }}
5858
cache-from: |
59-
type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}:build-cache-${{ env.GITHUB_REF_SLUG_URL }}-${{ github.workflow }}
60-
type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}:build-cache-main-${{ github.workflow }}
61-
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}:build-cache-${{ env.GITHUB_REF_SLUG_URL }}-${{ github.workflow }},mode=max
59+
type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}/${{ env.IMAGE_NAME }}:build-cache-${{ env.GITHUB_REF_SLUG_URL }}
60+
type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}/${{ env.IMAGE_NAME }}:build-cache-main
61+
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}/${{ env.IMAGE_NAME }}:build-cache-${{ env.GITHUB_REF_SLUG_URL }},mode=max

0 commit comments

Comments
 (0)