This commit is contained in:
parent
5d59af8fbc
commit
1ea65d63c3
@ -1,8 +1,8 @@
|
||||
steps:
|
||||
# OLD KANIKO BUILD (commented out due to TLS handshake failures with Docker Hub)
|
||||
# OLD DOCKER BUILDX BUILD (commented out - causes file descriptor issues with Docker-in-Docker)
|
||||
# build-and-push:
|
||||
# name: Build & Push Docker Image
|
||||
# image: woodpeckerci/plugin-kaniko
|
||||
# image: harbor.dvirlabs.com/base-images/plugin-docker-buildx:latest
|
||||
# when:
|
||||
# branch: [ master, develop ]
|
||||
# event: [ push, pull_request, tag ]
|
||||
@ -19,10 +19,10 @@ steps:
|
||||
# password:
|
||||
# from_secret: DOCKER_PASSWORD
|
||||
|
||||
# DOCKER BUILDX BUILD (using Harbor mirror to avoid Docker Hub TLS issues)
|
||||
# KANIKO BUILD (from Harbor mirror - lightweight, no Docker daemon, no file descriptor issues)
|
||||
build-and-push:
|
||||
name: Build & Push Docker Image
|
||||
image: harbor.dvirlabs.com/base-images/plugin-docker-buildx:latest
|
||||
image: harbor.dvirlabs.com/base-images/plugin-kaniko:latest
|
||||
when:
|
||||
branch: [ master, develop ]
|
||||
event: [ push, pull_request, tag ]
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM python:3.11-slim
|
||||
FROM harbor.dvirlabs.com/base-images/python:3.11.15-alpine3.22
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user