Skip to content

Docker (Weekly)

Docker (Weekly) #126

Workflow file for this run

# Refresh 25/09/2024
name: Docker (Weekly)
# 03:30 every Sunday
on:
schedule:
- cron: '30 03 * * 0'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log into GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# Build and push Docker image with Buildx
# https://github.com/docker/build-push-action
# httpd/rocky8
- name: build/push (httpd:rocky8)
uses: docker/build-push-action@v3
with:
context: httpd/rocky8
platforms: linux/amd64
push: true
tags: ghcr.io/cropgeeks/httpd:rocky8
# tomcat/8-jre8
- name: build/push (tomcat/8-jre8)
uses: docker/build-push-action@v3
with:
context: tomcat/8-jre8
platforms: linux/amd64
push: true
tags: ghcr.io/cropgeeks/tomcat:8-jre8
# tomcat/9-jdk11
- name: build/push (tomcat/9-jdk11)
uses: docker/build-push-action@v3
with:
context: tomcat/9-jdk11
platforms: linux/amd64
push: true
tags: ghcr.io/cropgeeks/tomcat:9-jdk11
# tomcat/10-jdk17
- name: build/push (tomcat/10-jdk17)
uses: docker/build-push-action@v3
with:
context: tomcat/10-jdk17
# httpd-with-perl/rocky8
- name: build/push (httpd-with-perl/rocky8)
uses: docker/build-push-action@v3
with:
context: httpd-with-perl/rocky8
platforms: linux/amd64
push: true
tags: ghcr.io/cropgeeks/httpd-with-perl:rocky8