Update to Ruby 3.3.6 #44
5 changed files with 11 additions and 6 deletions
|
@ -9,12 +9,18 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: cth-ubuntu-latest
|
runs-on: cth-ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Read .ruby-version file
|
||||||
|
id: ruby
|
||||||
|
run: echo "version=$(cat .ruby-version)" >> $GITHUB_OUTPUT
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Push image
|
- name: Push image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
|
build-args: |
|
||||||
|
RUBY_VERSION=${{ steps.ruby.outputs.version }}
|
||||||
tags: |
|
tags: |
|
||||||
docker.atomaka.com/budget:latest
|
docker.atomaka.com/budget:latest
|
||||||
docker.atomaka.com/budget:${{gitea.sha}}
|
docker.atomaka.com/budget:${{gitea.sha}}
|
||||||
|
|
|
@ -7,10 +7,8 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: cth-ubuntu-latest
|
runs-on: cth-ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: https://github.com/ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: 3.3.5
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- uses: https://github.com/ruby/setup-ruby@217c988b8c2bf2bacb2d5c78a7e7b18f8c34daed
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: vendor/bundle
|
path: vendor/bundle
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
3.3.5
|
3.3.6
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
|
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
|
||||||
|
|
||||||
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
|
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
|
||||||
ARG RUBY_VERSION=3.3.1
|
ARG RUBY_VERSION=3.3.6
|
||||||
FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
|
FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
|
||||||
|
|
||||||
# Rails app lives here
|
# Rails app lives here
|
||||||
|
|
|
@ -309,6 +309,7 @@ GEM
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
aarch64-linux
|
aarch64-linux
|
||||||
arm64-darwin-23
|
arm64-darwin-23
|
||||||
|
arm64-darwin-24
|
||||||
x86_64-linux
|
x86_64-linux
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
|
@ -334,4 +335,4 @@ DEPENDENCIES
|
||||||
web-console
|
web-console
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.5.18
|
2.5.23
|
||||||
|
|
Loading…
Reference in a new issue