Skip to content

Commit

Permalink
update image name
Browse files Browse the repository at this point in the history
  • Loading branch information
PeeQuessada committed Mar 19, 2024
1 parent 2749a0c commit 1faab4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
env:
GOOGLE_CREDENTIALS: ${{ secrets.CREDENTIALS }}
run: |
docker build -t ${{ vars.ZONE }}-docker.pkg.dev/${{ vars.PROJECT_ID }}/${{ vars.PREFIX }}-${{vars.PROJECT_ID}}/app:${{ github.run_id }} .
docker push ${{ vars.ZONE }}-docker.pkg.dev/${{ vars.PROJECT_ID }}/${{ vars.PREFIX }}-${{vars.PROJECT_ID}}/app:${{ github.run_id }}
docker build -t ${{ vars.ZONE }}-docker.pkg.dev/${{ vars.PROJECT_ID }}/repository/app:${{ github.run_id }} .
docker push ${{ vars.ZONE }}-docker.pkg.dev/${{ vars.PROJECT_ID }}/repository/app:${{ github.run_id }}
- name: Setup Namespace
run: kubectl config set-context --current --namespace=orderly
Expand All @@ -61,7 +61,7 @@ jobs:

- name: apply api
env:
IMAGE_NAME: ${{ vars.REGION }}-docker.pkg.dev/${{ vars.PROJECT_ID }}/${{ vars.PREFIX }}-${{vars.PROJECT_ID}}/app:${{ github.run_id }}
IMAGE_NAME: ${{ vars.REGION }}-docker.pkg.dev/${{ vars.PROJECT_ID }}/repository/app:${{ github.run_id }}
run: |
echo "$(cat api-deployment.yaml)" | envsubst | kubectl apply -f -
kubectl apply -f k8s/api-hpa.yaml
Expand Down

0 comments on commit 1faab4d

Please sign in to comment.