Upgrade dependencies #293
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deployment workflow | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
version-build-push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fix folder permissions | |
run: sudo chown -R $USER:$USER ${{ github.workspace }} | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Login to Quay | |
run: echo "${{ secrets.QUAY_ROBOT_TOKEN }}" | docker login -u "${{ secrets.QUAY_ROBOT_USERNAME }}" --password-stdin quay.io | |
- name: Set Git credentials | |
run: | | |
git config --global user.name github-actions | |
git config --global user.email [email protected] | |
- name: Prepare | |
run: make | |
- name: Increase version | |
run: | | |
make version-increase | |
git push | |
- name: Run tests | |
run: make tests-ci | |
- name: Build | |
run: make build | |
- name: Push | |
run: make push | |