Browse Source

chore: synced local './' with remote 'docker/'

pull/78/head
dgibbs64 1 month ago
parent
commit
0b50652afe
  1. 29
      .devcontainer/devcontainer.json
  2. 17
      .editorconfig
  3. 28
      .github/workflows/action-dockerhub-description.yml
  4. 3
      .gitignore
  5. 2
      .prettierrc.json
  6. 3
      .vscode/extensions.json

29
.devcontainer/devcontainer.json

@ -0,0 +1,29 @@
{
"name": "Docker Dev Container",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/devcontainers-community/npm-features/prettier:1": {},
"ghcr.io/devcontainers-extra/features/actionlint:1": {},
"ghcr.io/devcontainers-extra/features/checkov:1": {},
"ghcr.io/devcontainers-extra/features/markdownlint-cli:1": {},
"ghcr.io/devcontainers-extra/features/shellcheck:1": {},
"ghcr.io/devcontainers-extra/features/yamllint:2": {},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"DavidAnson.vscode-markdownlint",
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"github.vscode-github-actions",
"GitHub.vscode-pull-request-github",
"ms-azuretools.vscode-containers",
"redhat.vscode-yaml",
"yzhang.markdown-all-in-one"
]
}
},
"postCreateCommand": "npm init -y >/dev/null 2>&1 || true && npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template"
}

17
.editorconfig

@ -5,22 +5,13 @@ root = true
[*] [*]
charset = utf-8 charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
end_of_line = lf end_of_line = lf
insert_final_newline = true
# YAML Files
[*.{yml,yaml}]
indent_size = 2
# JSON Files
[*.{json,json5,webmanifest}]
indent_size = 2 indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
# BASH Files # BASH Files
[*.{.sh}] [*.{.sh}]
indent_style = tab
indent_size = 4 indent_size = 4
indent_style = tab

28
.github/workflows/action-dockerhub-description.yml

@ -0,0 +1,28 @@
name: Update Docker Hub Description
on:
workflow_dispatch:
push:
paths:
- README.md
- .github/workflows/dockerhub-description.yml
branches:
- main
permissions:
contents: read
jobs:
dockerhub-description:
name: Docker Hub Description
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
repository: ${{ secrets.DOCKER_HUB_REPO }}
short-description: ${{ github.event.repository.description }}

3
.gitignore

@ -7,3 +7,6 @@
!.vscode/*.code-snippets !.vscode/*.code-snippets
.history/ .history/
*.vsix *.vsix
# Node.js
node_modules

2
.prettierrc.json

@ -1,3 +1,3 @@
{ {
"plugins": ["prettier-plugin-sh"] "plugins": ["prettier-plugin-sh", "prettier-plugin-jinja-template"]
} }

3
.vscode/extensions.json

@ -1,6 +1,7 @@
{ {
"recommendations": [ "recommendations": [
"editorconfig.editorconfig", "editorconfig.editorconfig",
"esbenp.prettier-vscode" "esbenp.prettier-vscode",
"github.vscode-github-actions"
] ]
} }

Loading…
Cancel
Save