This commit is contained in:
@@ -11,6 +11,7 @@ jobs:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY_HOST: https://git.home
|
REGISTRY_HOST: https://git.home
|
||||||
|
REPOSITORY_NAME: drholy/n8n-ffmpeg-proxy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -42,7 +43,7 @@ jobs:
|
|||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY_HOST }}
|
registry: ${{ env.REGISTRY_HOST }}
|
||||||
username: ${{ secrets.GIT_USERNAME }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.GIT_PASSWORD }}
|
password: ${{ secrets.GIT_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
@@ -50,8 +51,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: user/app:latest, user/app:v1.0.0
|
platforms: linux/amd64
|
||||||
cache-from: type=registry,ref=user/app:buildcache
|
tags: ${{ REPOSITORY_NAME }}:latest, ${{ REPOSITORY_NAME }}:v1.0.0
|
||||||
cache-to: type=registry,ref=user/app:buildcache,mode=max
|
cache-from: type=registry,ref=${{ REPOSITORY_NAME }}:buildcache
|
||||||
|
cache-to: type=registry,ref=${{ REPOSITORY_NAME }}:buildcache,mode=max
|
||||||
# tags: ${{ steps.meta.outputs.tags }}
|
# tags: ${{ steps.meta.outputs.tags }}
|
||||||
# labels: ${{ steps.meta.outputs.labels }}
|
# labels: ${{ steps.meta.outputs.labels }}
|
||||||
Reference in New Issue
Block a user