Forgejo does not support build cache
All checks were successful
/ Monolith image (push) Successful in 2m0s

This commit is contained in:
signaryk 2024-07-14 17:26:53 -05:00
parent 6a9a344d9a
commit 73bd01f7b6

View file

@ -4,7 +4,7 @@ on:
- 'v*'
env:
GHCR_NAMESPACE: signaryk
GHCR_NAMESPACE: sigb.us
PLATFORMS: linux/amd64
FORGEJO_USER: signaryk
@ -37,8 +37,6 @@ jobs:
id: docker_build_monolith
uses: docker/build-push-action@v3
with:
cache-from: type=registry,ref=git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite:buildcache
cache-to: type=registry,ref=git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite:buildcache,mode=max
context: .
platforms: ${{ env.PLATFORMS }}
push: true
@ -52,12 +50,10 @@ jobs:
id: docker_build_monolith_release
uses: docker/build-push-action@v3
with:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
platforms: ${{ env.PLATFORMS }}
push: true
tags: |
git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite-monolith:latest
git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite-monolith:stable
git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite-monolith:${{ env.RELEASE_VERSION }}
git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite:latest
git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite:stable
git.sigb.us/${{ env.GHCR_NAMESPACE }}/dendrite:${{ env.RELEASE_VERSION }}