optimize ci build: use own dockerfile for dependencies + cache for builds #164
@ -11,8 +11,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240117
|
||||||
image: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240117
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Run Test DB Script
|
- name: Run Test DB Script
|
||||||
@ -35,7 +34,7 @@ jobs:
|
|||||||
|
|
||||||
deploy-staging:
|
deploy-staging:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
image: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240117
|
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240117
|
||||||
needs: [test]
|
needs: [test]
|
||||||
if: github.ref == 'refs/heads/staging'
|
if: github.ref == 'refs/heads/staging'
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user