Skip to content

Commit

Permalink
Variant.name to variant.path
Browse files Browse the repository at this point in the history
  • Loading branch information
daanpersoons committed Sep 23, 2024
1 parent 739cc5f commit 91b8756
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow-build-and-deploy-scaleway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ jobs:
- name: Prepare environment
run: |
echo "image=`basename ${{ inputs.image || github.repository }}`" >> "$GITHUB_ENV"
if [ -z "${{ matrix.variant.path }}" ]; then
if [ -z "${{ matrix.variant.name }}" ]; then
echo "image_suffix=" >> "$GITHUB_ENV"
echo "rollout_labels=${{ vars.K8S_LABELS }}" >> "$GITHUB_ENV"
else
echo "image_suffix=-${{ matrix.variant.path }}" >> "$GITHUB_ENV"
echo "rollout_labels=${{ vars.K8S_LABELS }},variant=${{ matrix.variant.path }}" >> "$GITHUB_ENV"
echo "image_suffix=-${{ matrix.variant.name }}" >> "$GITHUB_ENV"
echo "rollout_labels=${{ vars.K8S_LABELS }},variant=${{ matrix.variant.name }}" >> "$GITHUB_ENV"

Check warning on line 108 in .github/workflows/workflow-build-and-deploy-scaleway.yml

View workflow job for this annotation

GitHub Actions / Lint YAML

108:101 [line-length] line too long (108 > 100 characters)
fi
- name: Docker build & push
uses: wisemen-digital/devops-ga-docker-build-push@main
Expand All @@ -117,7 +117,7 @@ jobs:
image: ${{ env.image }}${{ env.image_suffix }}
tag: ${{ inputs.environment }}
platforms: ${{ vars.CONTAINER_PLATFORMS }}
target: ${{ matrix.variant.path }}
target: ${{ matrix.variant.name }}
- name: Rollout on cluster
uses: wisemen-digital/devops-ga-k8s-rollout@main
with:
Expand Down

0 comments on commit 91b8756

Please sign in to comment.