Skip to content

Commit

Permalink
Fixed the order of GitHub Actions step
Browse files Browse the repository at this point in the history
  • Loading branch information
minkzaw committed Jun 9, 2024
1 parent 1e2b509 commit 11f4a5a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/assistant-api-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,19 @@ jobs:
run: |
docker build . --file Dockerfile --tag "${{ env.DOCKER_IMAGE_TAG }}"
docker push "${{ env.DOCKER_IMAGE_TAG }}"
- name: Build and push image
run: |
docker build . --file Dockerfile --tag "${{ env.DOCKER_IMAGE_TAG }}"
docker push "${{ env.DOCKER_IMAGE_TAG }}"
- name: Checkout FluxCD repo
uses: actions/checkout@v2
with:
repository: minkzaw/fluxCD
path: fluxCD
token: ${{ secrets.REPO_ACCESS }}

- name: Build and push image
run: |
docker build . --file Dockerfile --tag "${{ env.DOCKER_IMAGE_TAG }}"
docker push "${{ env.DOCKER_IMAGE_TAG }}"
- name: Update Kubernetes manifests
run: |
cd fluxCD
Expand Down

0 comments on commit 11f4a5a

Please sign in to comment.