mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 23:45:55 +08:00
Fixing github workflow push pipeline (#190)
* adding download env step in github workflow Signed-off-by: rajdas98 <mail.rajdas@gmail.com> * adding download env step in github workflow Signed-off-by: rajdas98 <mail.rajdas@gmail.com>
This commit is contained in:
parent
0c12eaf89b
commit
1d5ce423f2
26
.github/workflows/push.yaml
vendored
26
.github/workflows/push.yaml
vendored
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user