use new docker image #411

Merged
philipp merged 1 commits from new-docker-image into main 2024-04-19 12:51:50 +02:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 7b32b9bbcb - Show all commits

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