mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-10-29 23:32:35 +01:00
Update build script
This commit is contained in:
parent
62fd0e4b09
commit
9c974df575
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user