mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-21 18:42:29 +01:00
Update Ruby to latest
This commit is contained in:
parent
dfcb4affce
commit
6fdb258e6d
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
@ -6,7 +6,7 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ruby:3.0.1
|
||||
image: ruby:3.1.1
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:12
|
||||
@ -16,22 +16,22 @@ jobs:
|
||||
- 5432:5432
|
||||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: gem install bundler
|
||||
- run: bundle install --jobs 4 --retry 3
|
||||
- run: bundle exec rake
|
||||
env:
|
||||
DATABASE_URL: postgres://postgres@postgres/postgres
|
||||
- uses: actions/checkout@v2
|
||||
- run: gem install bundler
|
||||
- run: bundle install --jobs 4 --retry 3
|
||||
- run: bundle exec rake
|
||||
env:
|
||||
DATABASE_URL: postgres://postgres@postgres/postgres
|
||||
|
||||
publish:
|
||||
needs: test
|
||||
if: github.event_name == 'push'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: elgohr/Publish-Docker-Github-Action@2.14
|
||||
with:
|
||||
name: hakanensari/frankfurter
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
tag_names: true
|
||||
- uses: actions/checkout@v2
|
||||
- uses: elgohr/Publish-Docker-Github-Action@2.14
|
||||
with:
|
||||
name: hakanensari/frankfurter
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
tag_names: true
|
||||
|
@ -1 +1 @@
|
||||
3.0.1
|
||||
3.1.1
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM ruby:3.0.1
|
||||
FROM ruby:3.1.1
|
||||
|
||||
RUN mkdir /app
|
||||
WORKDIR /app
|
||||
|
@ -128,7 +128,7 @@ DEPENDENCIES
|
||||
webmock
|
||||
|
||||
RUBY VERSION
|
||||
ruby 3.0.1p64
|
||||
ruby 3.1.1p18
|
||||
|
||||
BUNDLED WITH
|
||||
2.2.15
|
||||
2.3.7
|
||||
|
Loading…
Reference in New Issue
Block a user