4 Commits

Author SHA1 Message Date
20535317c7 Update .gitea/workflows/release-tag.yml
All checks were successful
release-nightly / release-image (push) Successful in 17m29s
release-tag / release-image (push) Successful in 19m44s
2023-08-22 09:22:12 +02:00
4c94209a45 Update .gitea/workflows/release-nightly.yml 2023-08-22 09:21:43 +02:00
f97426956a Boring cache
Some checks failed
release-nightly / release-image (push) Failing after 18m20s
2023-08-22 08:50:40 +02:00
fa067061b3 Cache again
Some checks failed
release-nightly / release-image (push) Failing after 17m29s
2023-08-21 23:59:34 +02:00
2 changed files with 13 additions and 7 deletions

View File

@@ -39,6 +39,7 @@ jobs:
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
env: env:
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119 ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
IMAGE_NAME: gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}
with: with:
context: . context: .
file: ./Containerfile file: ./Containerfile
@@ -46,6 +47,8 @@ jobs:
linux/arm/v7 linux/arm/v7
push: true push: true
tags: | tags: |
gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} ${{ env.IMAGE_NAME }}:${{ env.DOCKER_LATEST }}
cache-from: type=registry,ref=gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:buildcache # cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:${{ env.DOCKER_LATEST }}
cache-to: type=registry,ref=gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:buildcache,mode=max # cache-to: type:inline
# cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:buildcache
# cache-to: type=registry,ref=${{ env.IMAGE_NAME }}:buildcache,mode=max

View File

@@ -41,6 +41,7 @@ jobs:
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
env: env:
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119 ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
IMAGE_NAME: gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}
with: with:
context: . context: .
file: ./Containerfile file: ./Containerfile
@@ -48,10 +49,12 @@ jobs:
linux/arm/v7 linux/arm/v7
push: true push: true
tags: | tags: |
gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} ${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} ${{ env.IMAGE_NAME }}:${{ env.DOCKER_LATEST }}
cache-from: type=registry,ref=gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:buildcache # cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:${{ env.DOCKER_LATEST }}
cache-to: type=registry,ref=gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:buildcache,mode=max # cache-to: type:inline
# cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:buildcache
# cache-to: type=registry,ref=${{ env.IMAGE_NAME }}:buildcache,mode=max
- name: Deploy Image to Sever - name: Deploy Image to Sever
id: deploy id: deploy