-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from dokku/master
Release 0.6.0
- Loading branch information
Showing
18 changed files
with
1,113 additions
and
912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
name: Bug Report | ||
description: File a bug report | ||
labels: ["needs: investigation", "type: bug"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Consider [sponsoring Dokku](https://github.com/sponsors/dokku). Sponsorship goes directly to supporting activities such as fixing bugs and general maintenance. | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description of problem | ||
description: What happened? What did you expect to happen? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: steps | ||
attributes: | ||
label: Steps to reproduce | ||
description: What are the steps that we need to follow to reproduce this issue? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: report-output | ||
attributes: | ||
label: docker-image-labeler version | ||
description: Please paste the output of the command `docker-image-labeler version` | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: "Output of failing command" | ||
render: shell | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: Feature Request | ||
description: Have an idea for a new feature? Ask away! | ||
labels: ["needs: plan", "type: enhancement"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
While pull requests are always welcome, feel free to fill this out with an idea of what you would like to happen and we can discuss if and how it should be implemented in `docker-image-labeler`. | ||
Consider [sponsoring Dokku](https://github.com/sponsors/dokku). Sponsorship goes directly to supporting activities such as implementing new features and upgrading existing functionality. | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description of feature | ||
description: When you perform what command or action, what do you think should happen? | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
default: true | ||
|
||
# Line length | ||
# https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md013 | ||
MD013: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
extends: default | ||
|
||
rules: | ||
line-length: disable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
name: CI | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
pull_request: | ||
branches: | ||
- '*' | ||
push: | ||
branches: | ||
- 'master' | ||
- 'release' | ||
|
||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: true | ||
env: | ||
GITHUB_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} | ||
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: make version | ||
run: | | ||
make version .env.docker | ||
- run: make ci-report | ||
- run: make build-docker-image | ||
- run: make build-in-docker | ||
- run: make validate-in-docker | ||
- name: upload packages | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build | ||
path: build/**/* | ||
- name: make release-in-docker | ||
run: | | ||
if [[ "${GITHUB_REF#refs/heads/}" == "release" ]]; then | ||
export CI_BRANCH=${GITHUB_REF#refs/heads/} | ||
export PACKAGECLOUD_REPOSITORY=dokku/dokku | ||
rm .env.docker | ||
make .env.docker release-in-docker release-packagecloud-in-docker | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
name: 'lint' | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
pull_request: | ||
branches: | ||
- '*' | ||
push: | ||
branches: | ||
- 'master' | ||
|
||
jobs: | ||
hadolint: | ||
name: hadolint | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
- name: Run hadolint | ||
uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf | ||
# v1.5.0 => c27bd9edc1e95eed30474db8f295ff5807ebca14 | ||
|
||
markdown-lint: | ||
name: markdown-lint | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
- name: Run markdown-lint | ||
uses: avto-dev/markdown-lint@04d43ee9191307b50935a753da3b775ab695eceb | ||
# v1.5.0 => 04d43ee9191307b50935a753da3b775ab695eceb | ||
with: | ||
config: '.github/linters/.markdown-lint.yml' | ||
args: './README.md' | ||
|
||
shellcheck: | ||
name: shellcheck | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
- name: Run shellcheck | ||
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 | ||
# 1.1.0 => 94e0aab03ca135d11a35e5bfc14e6746dc56e7e9 | ||
env: | ||
SHELLCHECK_OPTS: -s bash | ||
shfmt: | ||
name: shfmt | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
- name: Run shfmt | ||
uses: luizm/action-sh-checker@76ab0b22e1f194e4a582edc7969df6485c4e9246 | ||
# v0.3.0 => 7f44869033b40ee4ffe7dc76c87a1bc66e3d025a | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} | ||
SHFMT_OPTS: -l -d -i 2 | ||
with: | ||
sh_checker_shellcheck_disable: true | ||
sh_checker_comment: true | ||
|
||
yamllint: | ||
name: yamllint | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
- name: Run yamllint | ||
uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c | ||
# v3.0.2 => c19bd0523a9011c3a3960fe6640a0882b59af15d | ||
with: | ||
config_file: '.github/linters/.yamllint.yml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,5 @@ validation/* | |
|
||
# .env files | ||
.env* | ||
|
||
docker-image-labeler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
FROM golang:1.18.1-buster | ||
FROM golang:1.20.5-buster | ||
|
||
# hadolint ignore=DL3027 | ||
RUN apt-get update \ | ||
&& apt install apt-transport-https build-essential curl gnupg2 jq lintian rpm rsync rubygems-integration ruby-dev ruby -qy \ | ||
&& apt install apt-transport-https build-essential curl gnupg2 jq lintian rsync rubygems-integration ruby-dev ruby -qy \ | ||
&& git clone https://github.com/bats-core/bats-core.git /tmp/bats-core \ | ||
&& cd /tmp/bats-core \ | ||
&& ./install.sh /usr/local \ | ||
&& /tmp/bats-core/install.sh /usr/local \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# hadolint ignore=DL3028 | ||
RUN gem install --no-ri --no-rdoc --quiet rake fpm package_cloud | ||
|
||
WORKDIR /src |
Oops, something went wrong.