From 6acb2e1e31475a12533f4a4bbd13fad3a8b21412 Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Mon, 26 Aug 2024 14:33:21 +0200 Subject: [PATCH 1/3] ci: update release workflow to include main branch trigger --- .gitea/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index b1c31c0..f5b425e 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -1,6 +1,8 @@ name: Release on: push: + branches: + - main env: GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} From 349c1a63fc28aaae0c6cd598de45130d3fa95cbc Mon Sep 17 00:00:00 2001 From: Renovate Date: Wed, 4 Sep 2024 06:03:36 +0000 Subject: [PATCH 2/3] chore(deps): pin dependencies --- action.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index f185ac3..b4aaa5c 100644 --- a/action.yml +++ b/action.yml @@ -21,26 +21,26 @@ runs: using: "composite" steps: - name: Checkout - uses: https://git.kjan.de/actions/checkout@v4 + uses: https://git.kjan.de/actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Set up Docker Buildx - uses: https://git.kjan.de/actions/setup-buildx-action@v3 + uses: https://git.kjan.de/actions/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3 - name: Login to local Docker Registry - uses: https://git.kjan.de/actions/login-action@v3 + uses: https://git.kjan.de/actions/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3 with: registry: git.kjan.de username: ${{ inputs.REGISTRY_USERNAME }} password: ${{ inputs.REGISTRY_TOKEN }} - name: Login to Docker.io Registry - uses: https://git.kjan.de/actions/login-action@v3 + uses: https://git.kjan.de/actions/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3 with: username: ${{ inputs.DOCKER_USERNAME }} password: ${{ inputs.DOCKER_PASSWORD }} - name: Cache Docker layers - uses: actions/cache@v4 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-${{ inputs.name }}-${{ github.sha }} @@ -48,7 +48,7 @@ runs: ${{ runner.os }}-${{ inputs.name }}- - name: Build and push - uses: https://git.kjan.de/actions/build-push-action@v6 + uses: https://git.kjan.de/actions/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6 with: cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max From 64b708adcad66f1a25a7ccb00684c4e378074df6 Mon Sep 17 00:00:00 2001 From: jank Date: Sun, 1 Jun 2025 15:45:17 +0200 Subject: [PATCH 3/3] fix: Add Readme --- README.md | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..6baf059 --- /dev/null +++ b/README.md @@ -0,0 +1,59 @@ +## Docker build + +### Description + +Builds a docker image + +### Inputs + +| name | description | required | default | +| --- | --- | --- | --- | +| `name` |

Directory name

| `true` | `""` | +| `REGISTRY_USERNAME` |

Registry username

| `true` | `""` | +| `REGISTRY_TOKEN` |

Registry token

| `true` | `""` | +| `DOCKER_USERNAME` |

Docker username

| `true` | `""` | +| `DOCKER_PASSWORD` |

Docker password

| `true` | `""` | + + +### Runs + +This action is a `composite` action. + +### Usage + +```yaml +- uses: ***PROJECT***@***VERSION*** + with: + name: + # Directory name + # + # Required: true + # Default: "" + + REGISTRY_USERNAME: + # Registry username + # + # Required: true + # Default: "" + + REGISTRY_TOKEN: + # Registry token + # + # Required: true + # Default: "" + + DOCKER_USERNAME: + # Docker username + # + # Required: true + # Default: "" + + DOCKER_PASSWORD: + # Docker password + # + # Required: true + # Default: "" +``` + + +