9 Commits

Author SHA1 Message Date
6aa2eee345 Update drone to 2.16.0.
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-01 23:29:07 +05:00
1d5cfb9fe7 Update drone to 2.15.0.
Some checks failed
continuous-integration/drone Build is failing
2022-11-23 05:03:24 +05:00
2fcbf929b0 Update to Drone 2.12.1.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-29 17:45:37 +05:00
9e8b70ddab Switch to mirrorred images for Drone and Dockerfile.
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-29 17:42:34 +05:00
3f39e6deee Go 1.18.3 and Drone 2.12.0. 2022-06-12 11:42:19 +05:00
fbc5facfaa Update to Drone 2.11.1. 2022-04-01 20:03:33 +05:00
399e6d3337 Update to Drone 2.7.3. 2022-01-04 01:36:53 +05:00
0911bbf682 Update Alpine to 3.14 and Drone server to 2.7.2. 2021-12-27 01:42:57 +05:00
31937c2976 README fix. 2021-11-19 02:22:35 +05:00
3 changed files with 11 additions and 11 deletions

View File

@@ -5,11 +5,11 @@ name: build
steps:
- name: docker
image: plugins/docker
image: code.pztrn.name/containers/mirror/plugins/docker:20.13.0
settings:
username:
from_secret: dockerhub_user
registry: code.pztrn.name
username: drone
password:
from_secret: dockerhub_password
repo: pztrn/drone-nolimit
from_secret: drone_secret
repo: code.pztrn.name/containers/drone-nolimit
auto_tag: true

View File

@@ -1,15 +1,15 @@
FROM golang:1.17.3-alpine as build
FROM code.pztrn.name/containers/mirror/golang:1.18.3-alpine as build
ENV DRONE_VERSION=2.5.0
ENV DRONE_VERSION=2.16.0
RUN apk add -U --no-cache ca-certificates git build-base
RUN mkdir -p /src/drone && \
cd /src/drone && \
git clone https://github.com/drone/drone . && \
git clone https://github.com/harness/drone . && \
git checkout -b v${DRONE_VERSION}
RUN cd /src/drone/cmd/drone-server && go build -tags "nolimit" -ldflags "-extldflags \"-static\"" -o drone-server
FROM alpine:3.11
FROM code.pztrn.name/containers/mirror/alpine:3.16.1
EXPOSE 80 443
VOLUME /data

View File

@@ -1,6 +1,6 @@
# Drone without limits
This repository contains everything that is need to build a Docker image with [drone](https://drone.io) Enterprise version without limits like build numbers. It is completely identical to official ones, e.g. using Alpine Linux and exports same environment variables by default (except Datatog). Runners that are built by Drone team can e safely used with this image.
This repository contains everything that is need to build a Docker image with [drone](https://drone.io) Enterprise version without limits like build numbers. It is completely identical to official ones, e.g. using Alpine Linux and exports same environment variables by default (except Datatog). Runners that are built by Drone team can be safely used with this image.
The reason this image appeared is that official Drone image is already on Enterprise version but with limits applied, which isn't good for me, as I am individual and able to use Enterprise version for free and without limits.
@@ -12,7 +12,7 @@ At the moment of last commit and build only these types of users are allowed to
1. Individuals who uses Drone without commercialization.
2. Students.
3. Organizations with under $1 million US dollars in annual gross revenue and less than $5 million in debt or equity funding.
3. Organizations with under $1 million US dollars in annual gross revenue.
Otherwise please use official Drone image from [Docker Hub](https://hub.docker.com/r/drone/drone) or [build open source edition by yourself](https://docs.drone.io/enterprise/#where-do-i-download-the-open-source-edition). Differences between Enterprise and Open Source editions are available [here](https://docs.drone.io/enterprise/#what-is-the-difference-between-open-source-and-enterprise).