Push v2-prod from hotfix #227
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: Process hotfix push or pr | |
on: | |
push: | |
branches: | |
- hotfix | |
pull_request: | |
branches: | |
- hotfix | |
jobs: | |
docker-push: | |
if: github.ref == 'refs/heads/hotfix' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build docker image from hotfix and push it | |
run: ./.github/workflows/scripts/build_and_push_dev.sh | |
env: | |
DOCKER_USER: ${{ secrets.DOCKER_USER }} | |
DOCKER_AUTH: ${{ secrets.DOCKER_AUTH }} |