Compare commits

...

11 Commits

Author SHA1 Message Date
Renovator Bot 22d915d1c1 chore(docker): update thegeeklab/alpine:latest docker digest to 46ee7e2
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2021-09-25 00:02:15 +00:00
Renovator Bot c758fdc34e chore(docker): update thegeeklab/alpine:latest docker digest to 7ab3a1d
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-09-22 10:02:12 +00:00
Robert Kaussow 20242f752f
improve changelog template
continuous-integration/drone/push Build is passing Details
2021-09-22 11:45:43 +02:00
Renovator Bot 6a98c3e2b7 chore(docker): update thegeeklab/alpine:latest docker digest to 95d772b
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-09-22 08:02:13 +00:00
Robert Kaussow dc075ab910
improve drone-matrix template
continuous-integration/drone/push Build is passing Details
2021-09-22 09:22:41 +02:00
Renovator Bot 7badb529ce chore(docker): update thegeeklab/alpine:latest docker digest to 9567c60
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-09-19 20:02:27 +00:00
Robert Kaussow 7f3cd38e0c
ci: switch to drone-matrix plugin
continuous-integration/drone/push Build is passing Details
2021-09-19 21:48:27 +02:00
Renovator Bot 26dd1da0d7 chore(docker): update thegeeklab/alpine:latest docker digest to 7cc5b84
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-08-27 22:02:11 +00:00
Renovator Bot 6adbbc6105 chore(docker): update thegeeklab/alpine:latest docker digest to 2b60511
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-08-27 20:02:10 +00:00
Renovator Bot eb068b5bef chore(docker): update thegeeklab/alpine:latest docker digest to 3da2629
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-08-24 14:09:00 +00:00
Renovator Bot 110c67b976 chore(deps): update thegeeklab/alpine:latest docker digest
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-07-31 21:01:58 +00:00
3 changed files with 162 additions and 166 deletions

View File

@ -6,13 +6,9 @@
{{ range .CommitGroups -}} {{ range .CommitGroups -}}
### {{ .Title }} ### {{ .Title }}
{{ $subjects := list }}
{{ range .Commits -}} {{ range .Commits -}}
{{ if not (has .Subject $subjects) -}} - {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ (regexReplaceAll "(Co-\\w*-by.*)" .Subject "") | trim }}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ $subjects = append $subjects .Subject -}}
{{ end }} {{ end }}
{{- end }}
{{- end -}} {{- end -}}
{{- if .NoteGroups -}} {{- if .NoteGroups -}}

View File

@ -7,16 +7,16 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: markdownlint - name: markdownlint
image: thegeeklab/markdownlint-cli image: thegeeklab/markdownlint-cli
commands: commands:
- markdownlint 'README.md' - markdownlint 'README.md'
trigger: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
- refs/pull/** - refs/pull/**
- refs/tags/** - refs/tags/**
--- ---
kind: pipeline kind: pipeline
@ -27,125 +27,125 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: binary - name: binary
image: clux/muslrust:nightly-2021-04-14 image: clux/muslrust:nightly-2021-04-14
commands: commands:
- apt-get -qq update && apt-get install -yqq --no-install-recommends libpq-dev - apt-get -qq update && apt-get install -yqq --no-install-recommends libpq-dev
- make build - make build
environment: environment:
BUILD_VERSION: ${DRONE_TAG%-*} BUILD_VERSION: ${DRONE_TAG%-*}
- name: verify - name: verify
image: alpine image: alpine
commands: commands:
- src/target/x86_64-unknown-linux-musl/release/vaultwarden --help - src/target/x86_64-unknown-linux-musl/release/vaultwarden --help
- src/target/x86_64-unknown-linux-musl/release/vaultwarden --version - src/target/x86_64-unknown-linux-musl/release/vaultwarden --version
depends_on: depends_on:
- binary - binary
- name: dryrun - name: dryrun
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
dry_run: true dry_run: true
password: password:
from_secret: docker_password from_secret: docker_password
repo: thegeeklab/${DRONE_REPO_NAME} repo: thegeeklab/${DRONE_REPO_NAME}
username: username:
from_secret: docker_username from_secret: docker_username
when: when:
ref: ref:
- refs/pull/** - refs/pull/**
depends_on: depends_on:
- verify - verify
- name: tags - name: tags
image: thegeeklab/docker-autotag image: thegeeklab/docker-autotag
environment: environment:
DOCKER_AUTOTAG_FORCE_LATEST: True DOCKER_AUTOTAG_FORCE_LATEST: True
DOCKER_AUTOTAG_IGNORE_PRERELEASE: True DOCKER_AUTOTAG_IGNORE_PRERELEASE: True
DOCKER_AUTOTAG_OUTPUT_FILE: .tags DOCKER_AUTOTAG_OUTPUT_FILE: .tags
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG} DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
when: when:
ref: ref:
- refs/heads/main - refs/heads/main
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- dryrun - dryrun
- name: changelog-generate - name: changelog-generate
image: thegeeklab/git-chglog image: thegeeklab/git-chglog
commands: commands:
- git fetch -tq - git fetch -tq
- git-chglog --no-color --no-emoji -o CHANGELOG.md ${DRONE_TAG:---next-tag unreleased unreleased} - git-chglog --no-color --no-emoji -o CHANGELOG.md ${DRONE_TAG:---next-tag unreleased unreleased}
depends_on: depends_on:
- tags - tags
- name: changelog-format - name: changelog-format
image: thegeeklab/alpine-tools image: thegeeklab/alpine-tools
commands: commands:
- prettier CHANGELOG.md - prettier CHANGELOG.md
- prettier -w CHANGELOG.md - prettier -w CHANGELOG.md
depends_on: depends_on:
- changelog-generate - changelog-generate
- name: publish-dockerhub - name: publish-dockerhub
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
password: password:
from_secret: docker_password from_secret: docker_password
repo: thegeeklab/${DRONE_REPO_NAME} repo: thegeeklab/${DRONE_REPO_NAME}
username: username:
from_secret: docker_username from_secret: docker_username
when: when:
ref: ref:
- refs/heads/main - refs/heads/main
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- changelog-format - changelog-format
- name: publish-quay - name: publish-quay
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
password: password:
from_secret: quay_password from_secret: quay_password
registry: quay.io registry: quay.io
repo: quay.io/thegeeklab/${DRONE_REPO_NAME} repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
username: username:
from_secret: quay_username from_secret: quay_username
when: when:
ref: ref:
- refs/heads/main - refs/heads/main
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- changelog-format - changelog-format
- name: publish-gitea - name: publish-gitea
image: plugins/gitea-release image: plugins/gitea-release
settings: settings:
api_key: api_key:
from_secret: gitea_token from_secret: gitea_token
base_url: https://gitea.rknet.org base_url: https://gitea.rknet.org
note: CHANGELOG.md note: CHANGELOG.md
overwrite: true overwrite: true
title: ${DRONE_TAG} title: ${DRONE_TAG}
when: when:
ref: ref:
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- publish-dockerhub - publish-dockerhub
- publish-quay - publish-quay
trigger: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
- refs/pull/** - refs/pull/**
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- test - test
--- ---
kind: pipeline kind: pipeline
@ -156,63 +156,63 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: pushrm-dockerhub - name: pushrm-dockerhub
pull: always pull: always
image: chko/docker-pushrm:1 image: chko/docker-pushrm:1
environment: environment:
DOCKER_PASS: DOCKER_PASS:
from_secret: docker_password from_secret: docker_password
DOCKER_USER: DOCKER_USER:
from_secret: docker_username from_secret: docker_username
PUSHRM_FILE: README.md PUSHRM_FILE: README.md
PUSHRM_SHORT: Custom image for Vaultwarden password manager PUSHRM_SHORT: Custom image for Vaultwarden password manager
PUSHRM_TARGET: thegeeklab/${DRONE_REPO_NAME} PUSHRM_TARGET: thegeeklab/${DRONE_REPO_NAME}
when: when:
status: status:
- success - success
- name: pushrm-quay - name: pushrm-quay
pull: always pull: always
image: chko/docker-pushrm:1 image: chko/docker-pushrm:1
environment: environment:
APIKEY__QUAY_IO: APIKEY__QUAY_IO:
from_secret: quay_token from_secret: quay_token
PUSHRM_FILE: README.md PUSHRM_FILE: README.md
PUSHRM_TARGET: quay.io/thegeeklab/${DRONE_REPO_NAME} PUSHRM_TARGET: quay.io/thegeeklab/${DRONE_REPO_NAME}
when: when:
status: status:
- success - success
- name: matrix - name: matrix
image: plugins/matrix image: thegeeklab/drone-matrix
settings: settings:
homeserver: homeserver:
from_secret: matrix_homeserver from_secret: matrix_homeserver
password: password:
from_secret: matrix_password from_secret: matrix_password
roomid: roomid:
from_secret: matrix_roomid from_secret: matrix_roomid
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}" template: "Status: **{{ build.Status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}){{#if build.Branch}} ({{ build.Branch }}){{/if}} by {{ commit.Author }}<br/> Message: {{ commit.Message.Title }}"
username: username:
from_secret: matrix_username from_secret: matrix_username
when: when:
status: status:
- success - success
- failure - failure
trigger: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
- refs/tags/** - refs/tags/**
status: status:
- success - success
- failure - failure
depends_on: depends_on:
- build-container - build-container
--- ---
kind: signature kind: signature
hmac: c154ec6b9e2c325bc15353640277a9e618e69cbd5e433c9439e833e2694aba4e hmac: af9757181a6acdd9b4572f45af4b4363d411365d41e67414cafc1b507b8e12ad
... ...

View File

@ -1,4 +1,4 @@
FROM thegeeklab/alpine:latest@sha256:b7783fa9915d884ec5d8836826b10e0984126430a127dfb9aedc3b4b105f33c6 FROM thegeeklab/alpine:latest@sha256:46ee7e23b77a597a3839315f2a94e6e8fbb0f39b7d68d575f3c05ecf276a5985
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>" LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"