Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
Raajheer1 committed May 24, 2024
1 parent cd7a703 commit 727b01b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Build the Docker image
run: docker build . --file ./Dockerfile --tag $(cat APP_NAME):${{ github.sha }}
- name: Tag the image to commit
run: docker tag $(cat APP_NAME):${{ github.sha }} $(cat APP_NAME):${{ github.sha }}
run: docker tag $(cat APP_NAME):${{ github.sha }} $(cat APP_NAME):$(cat TAG)
- name: Docker Login
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
- name: Image push
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Build the Docker image
run: docker build . --file ./Dockerfile_internal --tag $(cat APP_NAME):${{ github.sha }}
- name: Tag the image to commit
run: docker tag $(cat APP_NAME):${{ github.sha }} $(cat APP_NAME):${{ github.sha }}
run: docker tag $(cat APP_NAME):${{ github.sha }} $(cat APP_NAME):$(cat TAG)
- name: Docker Login
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
- name: Image push
Expand Down

0 comments on commit 727b01b

Please sign in to comment.