Skip to content

Commit

Permalink
image parameter (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Feb 2, 2024
1 parent 5158a5f commit 3590471
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/open-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
-f score/score.yaml \
--extensions score/humanitec.score.yaml \
--message "$(curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" "${{ github.event.pull_request.commits_url }}?per_page=10" | jq -r .[-1].commit.message)" \
--property containers.${{ env.WORKLOAD_NAME }}.image=${{ env.IMAGE_NAME }}@${IMAGE_DIGEST} \
--image ${{ env.IMAGE_NAME }}@${IMAGE_DIGEST} \
| tee score_output.json
- name: wait for deployment
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
-f score/score.yaml \
--extensions score/humanitec.score.yaml \
--message ${{ github.ref_name }} \
--property containers.${{ env.WORKLOAD_NAME }}.image=${{ env.IMAGE_NAME }}@${IMAGE_DIGEST} \
--image ${{ env.IMAGE_NAME }}@${IMAGE_DIGEST} \
| tee score_output.json
- name: wait for deployment
run: |
Expand Down
4 changes: 2 additions & 2 deletions score/score.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ metadata:
name: my-sample-app
containers:
my-sample-app:
image: my-sample-app
image: .
variables:
MESSAGE: "Hello, World!"
POD_NAME: "${pod.metadata.name}"
NAMESPACE_NAME: "${pod.metadata.namespace}"
resources:
dns:
dns:
type: dns
route:
type: route
Expand Down

0 comments on commit 3590471

Please sign in to comment.