Compare commits

...

11 Commits

Author SHA1 Message Date
Stanislav Nikitin 6aa2eee345
Update drone to 2.16.0.
continuous-integration/drone/push Build is passing Details
2023-01-01 23:29:07 +05:00
Stanislav Nikitin 1d5cfb9fe7
Update drone to 2.15.0.
continuous-integration/drone Build is failing Details
2022-11-23 05:03:24 +05:00
Stanislav Nikitin 2fcbf929b0
Update to Drone 2.12.1.
continuous-integration/drone/push Build is passing Details
2022-06-29 17:45:37 +05:00
Stanislav Nikitin 9e8b70ddab
Switch to mirrorred images for Drone and Dockerfile.
continuous-integration/drone/push Build is failing Details
2022-06-29 17:42:34 +05:00
Stanislav Nikitin 3f39e6deee
Go 1.18.3 and Drone 2.12.0. 2022-06-12 11:42:19 +05:00
Stanislav Nikitin fbc5facfaa
Update to Drone 2.11.1. 2022-04-01 20:03:33 +05:00
Stanislav Nikitin 399e6d3337
Update to Drone 2.7.3. 2022-01-04 01:36:53 +05:00
Stanislav Nikitin 0911bbf682
Update Alpine to 3.14 and Drone server to 2.7.2. 2021-12-27 01:42:57 +05:00
Stanislav Nikitin 31937c2976
README fix. 2021-11-19 02:22:35 +05:00
Stanislav Nikitin 365bed9654
Go 1.17.3 and Drone 2.5.0. 2021-11-19 01:09:43 +05:00
Stanislav Nikitin 30f12adb0e
Gitlab CI config update. 2020-11-20 18:58:49 +05:00
4 changed files with 15 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

@ -27,6 +27,8 @@ build-local-registry-latest:
script:
- docker build --pull -t $LOCAL_REGISTRY_IMAGE_LATEST .
- docker push $LOCAL_REGISTRY_IMAGE_LATEST
only:
- master
build-local-registry-version:
stage: build
@ -45,6 +47,8 @@ build-dockerhub-latest:
script:
- docker build --pull -t $DOCKERHUB_IMAGE_LATEST .
- docker push $DOCKERHUB_IMAGE_LATEST
only:
- master
build-dockerhub-version:
stage: build

View File

@ -1,15 +1,15 @@
FROM golang:1.15.5-alpine as build
FROM code.pztrn.name/containers/mirror/golang:1.18.3-alpine as build
ENV DRONE_VERSION=1.9.2
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).