Skip to content

Commit

Permalink
try to fix workflow staging deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Nov 3, 2023
1 parent 73b162f commit 3d85b7c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/staging-deploy-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ jobs:
with:
context: .
file: docker/Dockerfile
tags: ${{ secrets.TAG }}:${{ steps.store-version.outputs.version}}-STAGING
tags: ${{ secrets.TAG }}:${{ needs.update-version.store-version.outputs.version}}-STAGING
load: true
push: false


e2e-docker:
runs-on: ubuntu-22.04
needs: build-docker-image
needs: [build-docker-image,update-version]
strategy:
matrix:
browser: [ 'chrome', "firefox" ]
Expand All @@ -114,7 +114,7 @@ jobs:
-e SPRING_DATASOURCE_USERNAME=user \
-e SPRING_DATASOURCE_PASSWORD=sa \
-e SPRING_FLYWAY_LOCATIONS="classpath:db/h2-db/database-h2-schema,classpath:db/h2-db/data-test-h2" \
${{ secrets.TAG }}:${{ steps.store-version.outputs.version}}-STAGING &
${{ secrets.TAG }}:${{ needs.update-version.store-version.outputs.version}}-STAGING &
- name: Cypress run e2e tests
uses: cypress-io/github-action@v6
Expand All @@ -128,7 +128,7 @@ jobs:

upload-to-quay:
runs-on: ubuntu-latest
needs: e2e-docker
needs: [e2e-docker,update-version]
steps:
- name: Log in to Quay registry
uses: docker/login-action@v2
Expand All @@ -143,7 +143,7 @@ jobs:
context: .
file: docker/Dockerfile
push: true
tags: ${{ secrets.TAG }}:${{ steps.store-version.outputs.version}}-STAGING
tags: ${{ secrets.TAG }}:${{ needs.update-version.store-version.outputs.version}}-STAGING

- name: Trigger Deployment Workflow with latest Version
uses: actions/checkout@v3
Expand All @@ -158,7 +158,7 @@ jobs:
env:
FILEPATH: ${{ vars.FILEPATH }}
YAMLPATH: ${{ vars.YAML_PATH }}
NEWVALUE: ${{ vars.NEW_VALUE_URL }}:${{ steps.store-version.outputs.version}}-STAGING
NEWVALUE: ${{ secrets.TAG }}:${{ needs.update-version.store-version.outputs.version}}-STAGING
VERSION: v4.25.2
BINARY: yq_linux_amd64
run: |
Expand Down

0 comments on commit 3d85b7c

Please sign in to comment.