Compare commits

..

3 commits

Author SHA1 Message Date
7f75d2b2c1
feat: temporary entrypoint 2024-06-12 01:24:06 +02:00
b74e0e47d5
feat: CI 2024-06-12 01:17:05 +02:00
e71fd62bf3
feat: Dockerfile 2024-06-08 02:45:10 +02:00
4 changed files with 45 additions and 0 deletions

View file

@ -5,3 +5,6 @@ indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
[*.yaml]
indent_size = 2

13
.woodpecker/build.yaml Normal file
View file

@ -0,0 +1,13 @@
steps:
- name: build
image: woodpeckerci/plugin-docker-buildx
settings:
platforms: linux/amd64
repo: stawros/allure
registry: hattori.ztsh.eu
tags: ${CI_COMMIT_TAG}
username: stawros
password:
from_secret: hattori_pat
when:
- event: tag

27
Dockerfile Normal file
View file

@ -0,0 +1,27 @@
#The MIT License (MIT)
#Copyright 2020-2023 Anton Aftakhov
FROM openjdk:8-jre-alpine
ARG RELEASE=2.27.0
ARG ALLURE_REPO=https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline
RUN echo "$RELEASE" && \
apk update && \
apk add --no-cache bash wget unzip && \
rm -rf /var/cache/apk/*
RUN wget --no-verbose -O /tmp/allure-"$RELEASE".tgz "$ALLURE_REPO"/"$RELEASE"/allure-commandline-"$RELEASE".tgz && \
tar -xf /tmp/allure-"$RELEASE".tgz && \
rm -rf /tmp/* && \
chmod -R +x /allure-"$RELEASE"/bin
ENV ROOT=/app \
PATH=$PATH:/allure-$RELEASE/bin
RUN mkdir -p "$ROOT"
WORKDIR $ROOT
COPY ./entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

2
entrypoint.sh Normal file
View file

@ -0,0 +1,2 @@
ls -alh
allure --version