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