This repository has been archived by the owner on Feb 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
96 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# renovate: datasource=github-releases depName=containerbase/ruby-prebuild versioning=ruby | ||
ARG RUBY_VERSION=2.7.3 | ||
|
||
FROM ghcr.io/containerbase/buildpack:1.3.0@sha256:8d0bd58e02d271304e6ab378aede3927dd2cfb98cdae59d0e8bf6f66a5393963 | ||
|
||
ARG RUBY_VERSION | ||
RUN install-tool ruby | ||
|
||
LABEL org.opencontainers.image.source="https://github.com/containerbase/ruby" \ | ||
org.opencontainers.image.version="${RUBY_VERSION}" | ||
|
||
USER 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
# ruby | ||
containerbase ruby | ||
![Build status](https://github.com/containerbase/ruby/workflows/build/badge.svg) | ||
![Docker Image Size (latest)](https://img.shields.io/docker/image-size/containerbase/ruby/latest) | ||
[![Docker Image Version](https://img.shields.io/docker/v/containerbase/ruby/latest)](https://hub.docker.com/r/containerbase/ruby) | ||
![GitHub](https://img.shields.io/github/license/containerbase/ruby) | ||
|
||
# containerbase ruby | ||
|
||
This repository is the source for the Docker Hub image `containerbase/ruby`. Commits to `main` branch are automatically built and published. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"image": "ruby", | ||
"startVersion": "2.5.0", | ||
"cache": "docker-build-cache", | ||
"ignoredVersions": ["2.5.2"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#------------------------- | ||
# renovate rebuild trigger | ||
# https://www.ruby-lang.org/en/downloads/branches/ | ||
#------------------------- | ||
|
||
# makes lint happy | ||
FROM scratch | ||
|
||
# EOL: 2022-03-31 | ||
# renovate: datasource=github-releases depName=containerbase/ruby-prebuild versioning=ruby | ||
ENV PHP_VERSION=2.6.7 | ||
|
||
# renovate: datasource=github-releases depName=containerbase/ruby-prebuild versioning=ruby | ||
ENV PHP_VERSION=2.7.3 | ||
|
||
# renovate: datasource=github-releases depName=containerbase/ruby-prebuild versioning=ruby | ||
ENV PHP_VERSION=3.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["github>containerbase/.github"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- 'renovate/**' | ||
|
||
pull_request: | ||
|
||
env: | ||
DRY_RUN: ${{ github.ref != 'refs/heads/main' }} | ||
OWNER: ${{ github.repository_owner }} | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Docker registry login | ||
if: env.DRY_RUN == 'false' | ||
run: | | ||
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin | ||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ env.OWNER }} --password-stdin | ||
- name: Publish | ||
uses: renovatebot/[email protected] | ||
with: | ||
command: docker-builder | ||
image-prefix: ${{ env.OWNER }} | ||
dry-run: ${{ env.DRY_RUN }} |