optimize ci build: use own dockerfile for dependencies + cache for builds #164

Merged
philipp merged 16 commits from own-dockerfile into staging 2024-01-17 22:56:36 +01:00
Showing only changes of commit b258a5ac6e - Show all commits

View File

@ -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: