6 changed files with 70 additions and 18 deletions
@ -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" |
|||
} |
@ -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 }} |
@ -1,3 +1,3 @@ |
|||
{ |
|||
"plugins": ["prettier-plugin-sh"] |
|||
"plugins": ["prettier-plugin-sh", "prettier-plugin-jinja-template"] |
|||
} |
|||
|
@ -1,6 +1,7 @@ |
|||
{ |
|||
"recommendations": [ |
|||
"editorconfig.editorconfig", |
|||
"esbenp.prettier-vscode" |
|||
] |
|||
"recommendations": [ |
|||
"editorconfig.editorconfig", |
|||
"esbenp.prettier-vscode", |
|||
"github.vscode-github-actions" |
|||
] |
|||
} |
|||
|
Loading…
Reference in new issue