Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing github workflow push pipeline #190

Merged
merged 2 commits into from
Jun 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 10 additions & 16 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: env_artifact
path: signoz/env-vars
path: env-vars

build-and-push-frontend:
runs-on: ubuntu-latest
Expand All @@ -47,17 +47,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Downloading image artficate
- name: Downloading image artifact
uses: actions/download-artifact@v2
with:
name: env_artifact
path: signoz

- name: Build frontend docker image
shell: bash
run: |
source env-vars
cd frontend
docker build . -f Dockerfile
docker build . -f Dockerfile -t ${{ secrets.REPONAME }}/${FRONTEND_IMAGE}:${IMG_TAG}

- name: Login to DockerHub
uses: docker/login-action@v1
Expand All @@ -84,17 +84,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Downloading image artficate
- name: Downloading image artifact
uses: actions/download-artifact@v2
with:
name: env_artifact
path: signoz

- name: Build query-service image
shell: bash
run: |
source env-vars
cd pkg/query-service
docker build . -f Dockerfile
docker build . -f Dockerfile -t ${{ secrets.REPONAME }}/${QUERY_SERVICE}:${IMG_TAG}

- name: Login to DockerHub
uses: docker/login-action@v1
Expand All @@ -121,23 +121,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Downloading image artficate
- name: Downloading image artifact
uses: actions/download-artifact@v2
with:
name: env_artifact
path: signoz

- name: Build flattener docker image
shell: bash
run: |
source env-vars
cd pkg/processors/flattener
docker build . -f Dockerfile

- name: Build flattener processor docker image
shell: bash
run: |
cd pkg/query-service
docker build . -f Dockerfile
docker build . -f Dockerfile -t ${{ secrets.REPONAME }}/${FLATTENER_PROCESSOR}:${IMG_TAG}

- name: Login to DockerHub
uses: docker/login-action@v1
Expand Down