Initial Commit
Some checks failed
/ build-docker (push) Failing after 1m40s

This commit is contained in:
Matthew McKinnon 2024-11-09 11:56:17 +10:00
commit 052edfdc6a
4 changed files with 59 additions and 0 deletions

View 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
View 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
View 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
View 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"
]
}
}