Skip to content

Commit

Permalink
fix pipline
Browse files Browse the repository at this point in the history
  • Loading branch information
mucsi96 committed Mar 25, 2023
1 parent 3c4bbc8 commit 8e2a63b
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
working-directory: ./server
run: ./mvnw --batch-mode --update-snapshots package

build:
build-images:
needs: test
runs-on: ubuntu-latest
steps:
Expand All @@ -36,14 +36,18 @@ jobs:
mkdir .ansible
echo "${{ secrets.ANSIBLE_VAULT_KEY }}" > .ansible/vault_key
- name: Install Python requirements
run: pip install -r requirements.txt
- uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: "pip" # caching pip dependencies
- run: pip install -r requirements.txt

- uses: buildpacks/github-actions/[email protected]

- name: Build Docker images
run: python scripts/build.py ${{ secrets.GITHUB_TOKEN }}
- run: python scripts/build.py ${{ secrets.GITHUB_TOKEN }}

deploy:
needs: build
needs: build-images
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 8e2a63b

Please sign in to comment.