From 0b50652afe32c89b66daaccf3f649090c79fa08e Mon Sep 17 00:00:00 2001 From: dgibbs64 Date: Thu, 14 Aug 2025 22:12:47 +0000 Subject: [PATCH] chore: synced local './' with remote 'docker/' --- .devcontainer/devcontainer.json | 29 +++++++++++++++++++ .editorconfig | 17 +++-------- .../action-dockerhub-description.yml | 28 ++++++++++++++++++ .gitignore | 3 ++ .prettierrc.json | 2 +- .vscode/extensions.json | 9 +++--- 6 files changed, 70 insertions(+), 18 deletions(-) create mode 100644 .devcontainer/devcontainer.json create mode 100644 .github/workflows/action-dockerhub-description.yml diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..43a2b01 --- /dev/null +++ b/.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" +} diff --git a/.editorconfig b/.editorconfig index 4815e84..da6e5f2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,22 +5,13 @@ root = true [*] charset = utf-8 -indent_style = space -indent_size = 2 -trim_trailing_whitespace = true end_of_line = lf -insert_final_newline = true - -# YAML Files -[*.{yml,yaml}] -indent_size = 2 - -# JSON Files -[*.{json,json5,webmanifest}] indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true # BASH Files [*.{.sh}] -indent_style = tab indent_size = 4 - +indent_style = tab diff --git a/.github/workflows/action-dockerhub-description.yml b/.github/workflows/action-dockerhub-description.yml new file mode 100644 index 0000000..23fd6a3 --- /dev/null +++ b/.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 }} diff --git a/.gitignore b/.gitignore index d63b626..8bffd3f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ !.vscode/*.code-snippets .history/ *.vsix + +# Node.js +node_modules diff --git a/.prettierrc.json b/.prettierrc.json index 02d542d..eef7253 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,3 +1,3 @@ { - "plugins": ["prettier-plugin-sh"] + "plugins": ["prettier-plugin-sh", "prettier-plugin-jinja-template"] } diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 1b191c0..abd365b 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,6 +1,7 @@ { - "recommendations": [ - "editorconfig.editorconfig", - "esbenp.prettier-vscode" - ] + "recommendations": [ + "editorconfig.editorconfig", + "esbenp.prettier-vscode", + "github.vscode-github-actions" + ] }