Merge pull request 'use new docker image' (#410) from new-docker-image into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 21m33s
CI/CD Pipeline / deploy-staging (push) Successful in 18m18s
CI/CD Pipeline / deploy-main (push) Has been skipped

Reviewed-on: #410
This commit is contained in:
philipp 2024-04-19 12:51:12 +02:00
commit e3895f3c9c
2 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ env:
jobs:
test:
runs-on: ubuntu-latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240215
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240419
steps:
- uses: actions/checkout@v3
- name: Run Test DB Script
@ -34,7 +34,7 @@ jobs:
cargo build
cd frontend && npm install && npm run build
- name: Frontend tests
run: cd frontend && npx playwright install && npx playwright test --workers 1 --reporter line
run: cd frontend && npx playwright test --workers 1 --reporter line
- name: Backend tests
run: cargo test --verbose
#- uses: actions/upload-artifact@v3
@ -46,7 +46,7 @@ jobs:
deploy-staging:
runs-on: ubuntu-latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240215
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240419
needs: [test]
if: github.ref == 'refs/heads/staging'
steps:
@ -97,7 +97,7 @@ jobs:
deploy-main:
runs-on: ubuntu-latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240215
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240419
needs: [test]
if: github.ref == 'refs/heads/main'
steps:

View File

@ -5,7 +5,7 @@
# 2. Tag the image: `docker tag <id> git.hofer.link/ruderverein-donau-linz/rowing-ci:<date>`
# 3. Push the image: `docker push git.hofer.link/ruderverein-donau-linz/rowing-ci:<date>`
FROM rust:1.76
FROM rust:1.77.2
RUN apt-get update && apt-get install -y sqlite3