This commit was merged in pull request #3.
This commit is contained in:
@@ -39,6 +39,7 @@ jobs:
|
||||
uses: docker/build-push-action@v4
|
||||
env:
|
||||
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
|
||||
IMAGE_NAME: gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}
|
||||
with:
|
||||
context: .
|
||||
file: ./Containerfile
|
||||
@@ -46,6 +47,6 @@ jobs:
|
||||
linux/arm/v7
|
||||
push: true
|
||||
tags: |
|
||||
gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
|
||||
cache-from: type=registry,ref=gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:buildcache
|
||||
cache-to: type=registry,ref=gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:buildcache,mode=max
|
||||
${{ env.IMAGE_NAME }}:${{ env.DOCKER_LATEST }}
|
||||
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:buildcache
|
||||
cache-to: type=registry,ref=${{ env.IMAGE_NAME }}:buildcache,mode=max
|
||||
|
||||
@@ -41,6 +41,7 @@ jobs:
|
||||
uses: docker/build-push-action@v4
|
||||
env:
|
||||
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
|
||||
IMAGE_NAME: gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}
|
||||
with:
|
||||
context: .
|
||||
file: ./Containerfile
|
||||
@@ -48,10 +49,10 @@ jobs:
|
||||
linux/arm/v7
|
||||
push: true
|
||||
tags: |
|
||||
gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||
gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
|
||||
cache-from: type=registry,ref=gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:buildcache
|
||||
cache-to: type=registry,ref=gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}:buildcache,mode=max
|
||||
${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||
${{ env.IMAGE_NAME }}:${{ env.DOCKER_LATEST }}
|
||||
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
|
||||
id: deploy
|
||||
|
||||
Reference in New Issue
Block a user