Compare commits

..

No commits in common. "7827745c11602e335a47c256be58015577267139" and "352b088c97394da8588f85a56af9730f623bd445" have entirely different histories.

7 changed files with 13 additions and 96 deletions

View File

@ -1,13 +0,0 @@
name: Simple Docker Hello World Test
run-name: Tester workflow
on:
- push
jobs:
hello-world:
runs-on: gitea-main
container:
image: alpine
steps:
- run: echo "Target branch ${{ gitea.ref }}"

View File

@ -1,19 +1,11 @@
include:
- local: 'ci/builder.yml'
stages:
- build
build-ansible-image:
extends: .builder
dummy:
stage: build
image: alpine:latest
script:
- sh build-image.sh ansible
build-website-image:
extends: .builder
script:
- sh build-image.sh website
build-selelium-image:
extends: .builder
script:
- sh build-image.sh selenium
- echo $env_var
- echo $env_file
- cat $env_file

View File

@ -1,35 +0,0 @@
#!/bin/bash
set -e
# This script is a generic builder script which only builds
# images if the latest commit modifies the given folder in some way
target="$1"
tag="$2"
# Ensure we have a target
if [ -z "$target" ]; then
echo "$target is not defined ( empty )"
exit 1
fi
# Make sure the target is real
if [ ! -d "$target" ]; then
echo "$target is not a directory"
exit 1
fi
# Set the tag if not already set
if [ -z "$tag" ]; then
tag=latest
echo "Tag for \"$target\" defaulting to \"latest\""
fi
# Finally set the project root
PROJECT_ROOT=`pwd`
cd "$target"
echo docker build . -t "$tag"
echo "${DOCKERHUB_PASSWORD} | docker login --username "${DOCKERHUB_USERNAME}" --password-stdin
cd "$PROJECT_ROOT"

View File

@ -1,17 +0,0 @@
# This template is for the main builder jobs to inherit generic properties from
stages:
- publish
.builder:
image: docker:stable
stage: publish
services:
- docker:dind
only:
refs:
- master
# Ensure we login to docker hub before hand everytime
before_script:
- echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin

View File

@ -3,19 +3,12 @@
This repository serves as a place of consolidation for most of the major public
docker images that I maintain.
# Building
Workflow for is defined as such in 3 stages:
* Validation stage: where we lint and check any
# Update Cycle
I mostly update these for my own sake however special versioning cycles can be
arranged for those that that request it.
Email: `mail@shockrah.xyz`
Email: `dev@shockrah.xyz`
# Contributing

View File

@ -1,6 +0,0 @@
FROM selenium/standalone-firefox
RUN sudo apt update && \
sudo apt install -y python3-pip python3-venv && \
sudo apt-get clean && sudo rm -rf /var/cache/apt/archives /var/lib/apt/lists

View File

@ -1,6 +1,9 @@
FROM debian:sid-slim
MAINTAINER Alejandro Santillana alejandros714@protonmail.com
# For building and deploying to the VPS's and neocities
RUN apt-get update && \
apt-get install -y --no-install-recommends hugo && \
apt-get install -y pandoc hugo curl --no-install-recommends && \
rm -rf var/lib/{apt,dpkg,cache,log}/