fix code by AI
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6m16s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6m16s
This commit is contained in:
@@ -22,9 +22,9 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
# - name: Log in to Gitea Container Registry
|
- name: Log in to Gitea Container Registry
|
||||||
# run: |
|
run: |
|
||||||
# echo "${{ secrets.GITEATOKEN }}" | docker login "${{ env.REGISTRY_HOST }}" -u "${{ github.actor }}" --password-stdin
|
echo "${{ secrets.GIT_PASSWORD }}" | docker login "${{ env.REGISTRY_HOST }}" -u "${{ github.actor }}" --password-stdin
|
||||||
|
|
||||||
|
|
||||||
# - name: Extract metadata (tags, labels)
|
# - name: Extract metadata (tags, labels)
|
||||||
@@ -38,23 +38,34 @@ jobs:
|
|||||||
# type=sha,format=short,prefix=
|
# type=sha,format=short,prefix=
|
||||||
# type=ref,event=tag
|
# type=ref,event=tag
|
||||||
|
|
||||||
- name: Log in to Gitea Container Registry
|
# - name: Log in to Gitea Container Registry
|
||||||
uses: docker/login-action@v3
|
# uses: docker/login-action@v3
|
||||||
with:
|
# with:
|
||||||
registry: ${{ env.REGISTRY_HOST }}
|
# registry: ${{ env.REGISTRY_HOST }}
|
||||||
username: ${{ gitea.actor }}
|
# username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.GIT_PASSWORD }}
|
# password: ${{ secrets.GIT_PASSWORD }}
|
||||||
|
|
||||||
|
# - name: Build and push Docker image
|
||||||
|
# uses: docker/build-push-action@v6
|
||||||
|
# with:
|
||||||
|
# context: .
|
||||||
|
# push: true
|
||||||
|
# platforms: linux/amd64
|
||||||
|
# tags: ${{ gitea.actor }}/n8n-ffmpeg-proxy:${{ gitea.sha }}
|
||||||
|
# build-args: |
|
||||||
|
# USER_ID=1000
|
||||||
|
# GROUP_ID=1000
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
run: |
|
||||||
|
docker buildx build \
|
||||||
|
--push \
|
||||||
|
--platform linux/amd64 \
|
||||||
|
--tag git.home:5000/drholy/n8n-ffmpeg-proxy:${GITHUB_SHA} \
|
||||||
|
--tag git.home:5000/drholy/n8n-ffmpeg-proxy:latest \
|
||||||
|
.
|
||||||
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
|
||||||
uses: docker/build-push-action@v6
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
push: true
|
|
||||||
platforms: linux/amd64
|
|
||||||
tags: ${{ gitea.actor }}/n8n-ffmpeg-proxy:${{ gitea.sha }}
|
|
||||||
build-args: |
|
|
||||||
USER_ID=1000
|
|
||||||
GROUP_ID=1000
|
|
||||||
#cache-from: type=registry,ref=drholy/n8n-ffmpeg-proxy:buildcache
|
#cache-from: type=registry,ref=drholy/n8n-ffmpeg-proxy:buildcache
|
||||||
#cache-to: type=registry,ref=drholy/n8n-ffmpeg-proxy:buildcache,mode=max
|
#cache-to: type=registry,ref=drholy/n8n-ffmpeg-proxy:buildcache,mode=max
|
||||||
# tags: ${{ steps.meta.outputs.tags }}
|
# tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|||||||
Reference in New Issue
Block a user