-
-
Notifications
You must be signed in to change notification settings - Fork 896
81 lines (81 loc) · 2.66 KB
/
generate-ci-images.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# DO NOT EDIT
# this file is automatically generated by the "docker:pipeline" rake task
name: Generate CI Images
on:
workflow_dispatch: {}
schedule:
- cron: "0 5 * * 3" # At 05:00 on Wednesday # https://crontab.guru/#0_5_*_*_3
# reference: https://github.com/marketplace/actions/build-and-push-docker-images
jobs:
build_images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
bundler-cache: true
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: alpine
uses: docker/build-push-action@v2
with:
context: "."
push: true
tags: ghcr.io/sparklemotion/nokogiri-test:alpine
file: oci-images/nokogiri-test/alpine.dockerfile
- name: bionic
uses: docker/build-push-action@v2
with:
context: "."
push: true
tags: ghcr.io/sparklemotion/nokogiri-test:bionic
file: oci-images/nokogiri-test/bionic.dockerfile
- name: bionic32
uses: docker/build-push-action@v2
with:
context: "."
push: true
tags: ghcr.io/sparklemotion/nokogiri-test:bionic32
file: oci-images/nokogiri-test/bionic32.dockerfile
- name: mri-2.5
uses: docker/build-push-action@v2
with:
context: "."
push: true
tags: ghcr.io/sparklemotion/nokogiri-test:mri-2.5
file: oci-images/nokogiri-test/mri-2.5.dockerfile
- name: mri-2.6
uses: docker/build-push-action@v2
with:
context: "."
push: true
tags: ghcr.io/sparklemotion/nokogiri-test:mri-2.6
file: oci-images/nokogiri-test/mri-2.6.dockerfile
- name: mri-2.7
uses: docker/build-push-action@v2
with:
context: "."
push: true
tags: ghcr.io/sparklemotion/nokogiri-test:mri-2.7
file: oci-images/nokogiri-test/mri-2.7.dockerfile
- name: mri-3.0
uses: docker/build-push-action@v2
with:
context: "."
push: true
tags: ghcr.io/sparklemotion/nokogiri-test:mri-3.0
file: oci-images/nokogiri-test/mri-3.0.dockerfile
- name: truffle-nightly
uses: docker/build-push-action@v2
with:
context: "."
push: true
tags: ghcr.io/sparklemotion/nokogiri-test:truffle-nightly
file: oci-images/nokogiri-test/truffle-nightly.dockerfile