This commit is contained in:
parent
96f1b0965d
commit
c131769114
@ -19,6 +19,7 @@ name: build:latest
|
||||
steps:
|
||||
- name: docker release
|
||||
image: registry.odit.services/library/drone-kaniko
|
||||
user: 0
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
|
@ -7,9 +7,11 @@ RUN dos2unix plugin.sh
|
||||
FROM registry.odit.services/hub/library/node:20.0.0-alpine3.17
|
||||
WORKDIR /app
|
||||
|
||||
ENV HOME /root
|
||||
ENV USER root
|
||||
|
||||
RUN apk add curl git jq pandoc --no-cache --update && rm -rf /var/cache/apk/*
|
||||
|
||||
# add the wrapper which acts as a drone plugin
|
||||
COPY --from=BUILD /app/plugin.sh /app/plugin.sh
|
||||
RUN chmod +x /app/plugin.sh
|
||||
ENTRYPOINT [ "/app/plugin.sh" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user