This commit is contained in:
commit
052edfdc6a
24
.gitea/workflows/build.yml
Normal file
24
.gitea/workflows/build.yml
Normal file
@ -0,0 +1,24 @@
|
||||
on: push
|
||||
jobs:
|
||||
build-docker:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.comprofix.com
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: git.comprofix.com/mmckinnon/alpine-runner:latest
|
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
FROM alpine:latest@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d
|
||||
RUN apk update
|
||||
RUN apk add --no-cache openssh nodejs npm git bash openssh python3 py3-pip py3-passlib
|
||||
RUN python3 -m pip install --user ansible --break-system-packages
|
||||
ENV PATH="/root/.local/bin:$PATH"
|
||||
|
||||
|
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
||||
This is a Dockerfile is used to build a custom alpine image that is use in my homelab CI/CD Pipelines.
|
||||
|
||||
|
25
renovate.json
Normal file
25
renovate.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended",
|
||||
"renovatebot/renovate-config",
|
||||
":semanticCommitTypeAll(chore)"
|
||||
],
|
||||
"ignoreDeps": [
|
||||
"postgres"
|
||||
],
|
||||
"automerge": true,
|
||||
"automergeType": "branch",
|
||||
"automergeStrategy": "rebase",
|
||||
"commitBodyTable": true,
|
||||
"ignoreTests": true,
|
||||
"major": {
|
||||
"automerge": false,
|
||||
"dependencyDashboardApproval": true,
|
||||
"commitMessagePrefix": "chore(deps-major): ",
|
||||
"labels": [
|
||||
"dependencies",
|
||||
"breaking"
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user