first commit

This commit is contained in:
Roger Sikorski 2024-02-04 13:51:05 +01:00
commit fb9026f1ee
5 changed files with 57 additions and 0 deletions

12
.editorconfig Normal file
View File

@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

View File

@ -0,0 +1,28 @@
name: curl-with-bash-build mr
on:
push:
jobs:
Dockerfile lint:
runs-on: k3s
steps:
- uses: actions/checkout@v4
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
build:
needs: Dockerfile lint
runs-on: k3s
steps:
- uses: actions/checkout@v4
- name: Kaniko build
uses: aevea/action-kaniko@master
with:
image: rogersik/curl-with-bash
registry: gitea.sikorski.cloud
tag: "8.6.0"
cache: true
username: rogersik
password: ${{ secrets.REGISTRY_PASSWORD }}

3
.hadolint.yaml Normal file
View File

@ -0,0 +1,3 @@
ignored:
- DL3008 # no need to pin versions
- DL3018 # apk: no need to pin versions

11
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,11 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[dockerfile]": {
"editor.defaultFormatter": "ms-azuretools.vscode-docker"
}
}

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM curlimages/curl:8.6.0
RUN apk add --no-cache bash