Skip to content

Commit

Permalink
https://jira.catena-x.net/browse/KA-328 push logic and folders debugged
Browse files Browse the repository at this point in the history
  • Loading branch information
drcgjung committed Aug 22, 2023
1 parent 93a6fdc commit 3c49709
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ jobs:
uses: docker/build-push-action@v3
with:
context: agent-plane-hashicorp
file: agent-plane/agent-plane-hashcorp/src/main/docker/Dockerfile
file: agent-plane/agent-plane-hashicorp/src/main/docker/Dockerfile
# Build image for verification purposes on every trigger event. Only push if event is not a PR
push: ${{ ( github.repository != 'catenax-ng/product-agents-edc' && github.repository != 'eclipse-tractusx/knowledge-agents-edc') || ( github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/v')) }}
push: ${{ (github.repository == 'catenax-ng/product-agents-edc' || github.repository == 'eclipse-tractusx/knowledge-agents-edc') && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
tags: ${{ steps.meta-hash.outputs.tags }}
labels: ${{ steps.meta-hash.outputs.labels }}

Expand All @@ -157,6 +157,6 @@ jobs:
context: agent-plane/agent-plane-azure-vault/.
file: agent-plane/agent-plane-azure-vault/src/main/docker/Dockerfile
# Build image for verification purposes on every trigger event. Only push if event is not a PR
push: ${{ (github.repository == 'catenax-ng/product-agents' || github.repository == 'eclipse-tractusx/knowledge-agents') && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
push: ${{ (github.repository == 'catenax-ng/product-agents-edc' || github.repository == 'eclipse-tractusx/knowledge-agents-edc') && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
tags: ${{ steps.meta-azr.outputs.tags }}
labels: ${{ steps.meta-azr.outputs.labels }}

0 comments on commit 3c49709

Please sign in to comment.