mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +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:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ruby:3.0.1
|
image: ruby:3.1.1
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12
|
image: postgres:12
|
||||||
@ -16,22 +16,22 @@ jobs:
|
|||||||
- 5432:5432
|
- 5432:5432
|
||||||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: gem install bundler
|
- run: gem install bundler
|
||||||
- run: bundle install --jobs 4 --retry 3
|
- run: bundle install --jobs 4 --retry 3
|
||||||
- run: bundle exec rake
|
- run: bundle exec rake
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: postgres://postgres@postgres/postgres
|
DATABASE_URL: postgres://postgres@postgres/postgres
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: test
|
needs: test
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: elgohr/Publish-Docker-Github-Action@2.14
|
- uses: elgohr/Publish-Docker-Github-Action@2.14
|
||||||
with:
|
with:
|
||||||
name: hakanensari/frankfurter
|
name: hakanensari/frankfurter
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
tag_names: true
|
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
|
RUN mkdir /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -128,7 +128,7 @@ DEPENDENCIES
|
|||||||
webmock
|
webmock
|
||||||
|
|
||||||
RUBY VERSION
|
RUBY VERSION
|
||||||
ruby 3.0.1p64
|
ruby 3.1.1p18
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.2.15
|
2.3.7
|
||||||
|
Loading…
Reference in New Issue
Block a user