Switch to buildx instead of kaniko, remove proxy
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Yvan Janssens 2023-03-22 13:34:10 +00:00
parent 7e75901559
commit 212736366a
2 changed files with 5 additions and 7 deletions

View File

@ -1,13 +1,11 @@
pipeline: pipeline:
publish-docker-image: publish-docker-image:
image: plugins/kaniko image: woodpeckerci/plugin-docker-buildx
environment:
- http_proxy=http://netsupport.lan.cyber.gent:3128
- https_proxy=http://netsupport.lan.cyber.gent:3128
settings: settings:
dockerfile: Dockerfile
platforms: linux/amd64
repo: git.cyber.gent/friedkiwi/code-server-mod repo: git.cyber.gent/friedkiwi/code-server-mod
tags: latest,v1-${CI_COMMIT_SHA:0:8} tags: latest,v1-${CI_COMMIT_SHA:0:8}
dockerfile: Dockerfile
username: ${CI_REPO_OWNER} username: ${CI_REPO_OWNER}
registry: git.cyber.gent registry: git.cyber.gent
password: password:

View File

@ -2,7 +2,7 @@ FROM ghcr.io/linuxserver/code-server:latest
RUN apt update -y && apt upgrade -y && apt install -y build-essential cmake python3-dev c3270 RUN apt update -y && apt upgrade -y && apt install -y build-essential cmake python3-dev c3270
RUN git config --global http.proxy http://netsupport.lan.cyber.gent:3128 #RUN git config --global http.proxy http://netsupport.lan.cyber.gent:3128
RUN cd / && git clone https://github.com/wrljet/hercules-helper.git RUN cd / && git clone https://github.com/wrljet/hercules-helper.git
COPY allow-root-build.patch /hercules-helper COPY allow-root-build.patch /hercules-helper
@ -12,4 +12,4 @@ RUN cd /hercules-helper && patch hyperion-buildall.sh allow-root-build.patch &&
COPY add-herc-helper-to-init.patch /hercules-helper COPY add-herc-helper-to-init.patch /hercules-helper
RUN cd / && patch init /hercules-helper/add-herc-helper-to-init.patch RUN cd / && patch init /hercules-helper/add-herc-helper-to-init.patch
RUN git config --global http.proxy #RUN git config --global http.proxy