first commit
This commit is contained in:
commit
fb9026f1ee
12
.editorconfig
Normal file
12
.editorconfig
Normal 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
|
28
.gitea/workflows/main.yaml
Normal file
28
.gitea/workflows/main.yaml
Normal 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
3
.hadolint.yaml
Normal 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
11
.vscode/settings.json
vendored
Normal 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
3
Dockerfile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
FROM curlimages/curl:8.6.0
|
||||||
|
|
||||||
|
RUN apk add --no-cache bash
|
Loading…
Reference in New Issue
Block a user