Skip to content

Commit

Permalink
Merge pull request #305 from netlogix/feature/container-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanowak authored Jul 8, 2024
2 parents 918dc18 + ae39b64 commit f059d2a
Show file tree
Hide file tree
Showing 113 changed files with 2,302 additions and 1,719 deletions.
51 changes: 38 additions & 13 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ updates:
schedule:
interval: daily
time: '07:00'
- package-ecosystem: docker
directory: /solr
schedule:
interval: daily
time: '07:00'
ignore:
- dependency-name: '*'
update-types:
- version-update:semver-patch
target-branch: main
reviewers:
- saschanowak
- paxuclus
- nlx-klein
labels:
- dependencies
- package-ecosystem: docker
directory: /cfssl
schedule:
Expand Down Expand Up @@ -57,7 +73,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /mailhog
directory: /mailpit
schedule:
interval: daily
time: '07:00'
Expand Down Expand Up @@ -153,7 +169,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /prometheus-apache-exporter
directory: /prettier
schedule:
interval: daily
time: '07:00'
Expand All @@ -169,7 +185,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /prometheus-elasticsearch-exporter
directory: /prometheus-apache-exporter
schedule:
interval: daily
time: '07:00'
Expand All @@ -185,7 +201,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /prometheus-nginx-exporter
directory: /prometheus-elasticsearch-exporter
schedule:
interval: daily
time: '07:00'
Expand All @@ -201,7 +217,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /prometheus-php-fpm-exporter
directory: /prometheus-nginx-exporter
schedule:
interval: daily
time: '07:00'
Expand All @@ -217,7 +233,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /prometheus-postgres-exporter
directory: /prometheus-php-fpm-exporter
schedule:
interval: daily
time: '07:00'
Expand All @@ -233,7 +249,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /prometheus-redis-exporter
directory: /prometheus-postgres-exporter
schedule:
interval: daily
time: '07:00'
Expand All @@ -249,7 +265,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /prometheus-solr-exporter
directory: /prometheus-redis-exporter
schedule:
interval: daily
time: '07:00'
Expand All @@ -265,7 +281,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /prometheus-varnish-exporter
directory: /prometheus-solr-exporter
schedule:
interval: daily
time: '07:00'
Expand All @@ -281,7 +297,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /proxy
directory: /prometheus-varnish-exporter
schedule:
interval: daily
time: '07:00'
Expand All @@ -297,7 +313,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /rabbitmq
directory: /proxy
schedule:
interval: daily
time: '07:00'
Expand All @@ -313,7 +329,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /redis
directory: /rabbitmq
schedule:
interval: daily
time: '07:00'
Expand All @@ -329,7 +345,7 @@ updates:
labels:
- dependencies
- package-ecosystem: docker
directory: /serverspec
directory: /redis
schedule:
interval: daily
time: '07:00'
Expand Down Expand Up @@ -424,3 +440,12 @@ updates:
- nlx-klein
labels:
- dependencies
- package-ecosystem: npm
directory: /
schedule:
interval: daily
time: '07:00'
open-pull-requests-limit: 5
target-branch: main
labels:
- dependencies
71 changes: 71 additions & 0 deletions .github/workflows/cfssl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: 'Build cfssl docker image'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
schedule:
- cron: 0 7 * * THU
push:
branches:
- main
paths:
- cfssl/**
pull_request:
branches:
- main
paths:
- cfssl/**
workflow_dispatch:
inputs: {}

jobs:
build-docker-image:
name: 'Build cfssl docker image'
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup QEMU
uses: docker/setup-qemu-action@v3

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push (cfssl)
uses: docker/build-push-action@v6
with:
builder: ${{ steps.buildx.outputs.name }}
context: ./cfssl
target: cfssl
file: ./cfssl/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/netlogix/docker/cfssl:latest,ghcr.io/netlogix/docker/cfssl:1.6
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha, mode=max

- name: Build and push (cfssl)
uses: docker/build-push-action@v6
with:
builder: ${{ steps.buildx.outputs.name }}
context: ./cfssl
target: cfssl-server
file: ./cfssl/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/netlogix/docker/cfssl-server:latest,ghcr.io/netlogix/docker/cfssl:1.6
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha, mode=max

58 changes: 58 additions & 0 deletions .github/workflows/chromium.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: 'Build chromium docker image'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
schedule:
- cron: 0 7 * * THU
push:
branches:
- main
paths:
- chromium/**
pull_request:
branches:
- main
paths:
- chromium/**
workflow_dispatch:
inputs: {}

jobs:
build-docker-image:
name: 'Build chromium docker image'
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup QEMU
uses: docker/setup-qemu-action@v3

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push (chromium)
uses: docker/build-push-action@v6
with:
builder: ${{ steps.buildx.outputs.name }}
context: ./chromium
target: chromium
file: ./chromium/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/netlogix/docker/chromium:latest
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha, mode=max

Loading

0 comments on commit f059d2a

Please sign in to comment.