Skip to content

Commit

Permalink
fix: use correct variable name when inserting image version to deploy…
Browse files Browse the repository at this point in the history
…ment file (#4)
  • Loading branch information
fredrikmonsen authored Oct 16, 2024
1 parent ab5bbca commit c2ca7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
- name: Deploy to stage cluster
run: |
echo "Deploying to stage version ${{ env.APP_VERSION }}"
sed -i "s|<image>|${{ steps.import-harbor-secrets.outputs.HARBOR_URL }}/tekst/ammo:${{ needs.build-and-publish.outputs.image_version }}|g" k8s/stage/deployment.yml
sed -i "s|<image>|${{ steps.import-secrets.outputs.HARBOR_URL }}/tekst/ammo:${{ needs.build-and-publish.outputs.image_version }}|g" k8s/stage/deployment.yml
sed -i "s/<host_url>/${{ steps.import-secrets.outputs.K8S_HOST_URL }}/g" k8s/stage/ingress.yml
kubectl config set-cluster stagecl --server=${{ steps.import-secrets.outputs.K8S_STAGE_SERVER }}
kubectl config set clusters.stagecl.certificate-authority-data ${{ steps.import-secrets.outputs.K8S_STAGE_NB_NO_CA }}
Expand Down

0 comments on commit c2ca7e1

Please sign in to comment.