Skip to content

Commit

Permalink
Remove internal build
Browse files Browse the repository at this point in the history
  • Loading branch information
Raajheer1 committed Oct 13, 2024
1 parent f69df1c commit a08b0c0
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,6 @@ jobs:
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
- name: Image push
run: docker push $(cat APP_NAME):$(cat TAG)
build-internal:
name: Build and push internal API Docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set Tag in env variable
run: |
echo "vatusa/${{ secrets.REPOSITORY_NAME }}" > APP_NAME
echo "$(echo ${{ github.sha }} | cut -c1-7)"-internal > TAG
- 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):$(cat TAG)
- name: Docker Login
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
- name: Image push
run: docker push $(cat APP_NAME):$(cat TAG)
deploy-dev:
name: Deploy dev to ArgoCD
runs-on: ubuntu-latest
Expand Down

0 comments on commit a08b0c0

Please sign in to comment.