own-dockerfile #166

Merged
philipp merged 32 commits from own-dockerfile into staging 2024-01-17 23:43:26 +01:00
2 changed files with 6 additions and 5 deletions
Showing only changes of commit 57c1e13c14 - Show all commits

View File

@ -11,14 +11,12 @@ env:
jobs:
test:
runs-on: ubuntu-latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240117
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240118
steps:
- uses: actions/checkout@v3
- name: Run Test DB Script
run: ./test_db.sh
- name: TEMPORARY act workaround
run: apt update && apt install zstd
- name: Set up cargo cache
uses: actions/cache@v3
with:
@ -48,7 +46,7 @@ jobs:
deploy-staging:
runs-on: ubuntu-latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240117
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240118
needs: [test]
if: github.ref == 'refs/heads/staging'
steps:
@ -88,7 +86,7 @@ jobs:
deploy-main:
runs-on: ubuntu-latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240118
needs: [test]
if: github.ref == 'refs/heads/main'
steps:

View File

@ -21,3 +21,6 @@ RUN npx playwright install --with-deps
# deployment
RUN rustup target add x86_64-unknown-linux-musl
RUN apt-get install -y -qq pkg-config sshpass musl musl-tools curl gnupg libssl-dev
# TEMPORARY act workaround (otherwise gitea cache is not working)
RUN apt-get install -y zstd