mirror of
https://github.com/thegeeklab/docker-autotag.git
synced 2024-11-16 21:50:41 +00:00
63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
---
|
|
when:
|
|
- event: [pull_request, tag]
|
|
- event: [push, manual]
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
steps:
|
|
- name: markdownlint
|
|
image: quay.io/thegeeklab/markdownlint-cli
|
|
group: test
|
|
commands:
|
|
- markdownlint 'README.md' 'CONTRIBUTING.md'
|
|
|
|
- name: spellcheck
|
|
image: quay.io/thegeeklab/alpine-tools
|
|
group: test
|
|
commands:
|
|
- spellchecker --files 'docs/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls
|
|
environment:
|
|
FORCE_COLOR: "true"
|
|
|
|
- name: link-validation
|
|
image: docker.io/lycheeverse/lychee
|
|
group: test
|
|
commands:
|
|
- lychee --no-progress --format detailed README.md
|
|
|
|
- name: pushrm-dockerhub
|
|
image: docker.io/chko/docker-pushrm:1
|
|
secrets:
|
|
- source: docker_password
|
|
target: DOCKER_PASS
|
|
- source: docker_username
|
|
target: DOCKER_USER
|
|
environment:
|
|
PUSHRM_FILE: README.md
|
|
PUSHRM_SHORT: Create docker tags from a given version string
|
|
PUSHRM_TARGET: ${CI_REPO}
|
|
when:
|
|
- event: [push, manual]
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
status: [success]
|
|
|
|
- name: pushrm-quay
|
|
image: docker.io/chko/docker-pushrm:1
|
|
secrets:
|
|
- source: quay_token
|
|
target: APIKEY__QUAY_IO
|
|
environment:
|
|
PUSHRM_FILE: README.md
|
|
PUSHRM_TARGET: quay.io/${CI_REPO}
|
|
when:
|
|
- event: [push, manual]
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
status: [success]
|
|
|
|
depends_on:
|
|
- build-package
|
|
- build-container
|