Update build script

This commit is contained in:
Hakan Ensari 2023-03-01 13:50:01 +00:00
parent 62fd0e4b09
commit 9c974df575
No known key found for this signature in database

View File

@ -6,17 +6,17 @@ jobs:
test:
runs-on: ubuntu-latest
container:
image: ruby:3.1.1
image: ruby:3.2.1
services:
postgres:
image: postgres:12
image: postgres:15
env:
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: gem install bundler
- run: bundle install --jobs 4 --retry 3
- run: bundle exec rake
@ -28,8 +28,8 @@ jobs:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: elgohr/Publish-Docker-Github-Action@2.14
- uses: actions/checkout@v3
- uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: hakanensari/frankfurter
username: ${{ secrets.DOCKER_USERNAME }}