mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +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:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ruby:3.1.1
|
image: ruby:3.2.1
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12
|
image: postgres:15
|
||||||
env:
|
env:
|
||||||
POSTGRES_HOST_AUTH_METHOD: trust
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
ports:
|
ports:
|
||||||
- 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@v3
|
||||||
- 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
|
||||||
@ -28,8 +28,8 @@ jobs:
|
|||||||
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@v3
|
||||||
- uses: elgohr/Publish-Docker-Github-Action@2.14
|
- uses: elgohr/Publish-Docker-Github-Action@v5
|
||||||
with:
|
with:
|
||||||
name: hakanensari/frankfurter
|
name: hakanensari/frankfurter
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
Loading…
Reference in New Issue
Block a user