-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (57 loc) · 1.65 KB
/
weekly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Refresh 28/05/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
platforms: linux/amd64
push: true
tags: ghcr.io/cropgeeks/tomcat:10-jdk17