Skip to content

Commit

Permalink
ci: fix variables in build
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Jul 2, 2023
1 parent fd2080a commit e76da26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
id: matrix
run: |
echo 'matrix={
"os_name": ["alpine"],
"build_type": ["dev", "k8s"]
"build_type": ["dev", "k8s"],
"os_name": ["alpine"]
}' | tr -d '\n' >> "$GITHUB_OUTPUT"
build:
Expand All @@ -33,7 +33,7 @@ jobs:
push-to-hub: true
image-namespace: "wayofdev/nginx"
image-template-path: "./dist"
image-template: ${{ matrix.php_version }}-${{ matrix.php_type }}-${{ matrix.os_name }}
image-template: ${{ matrix.build_type }}-${{ matrix.os_name }}
image-version: latest
secrets:
docker-username: ${{ secrets.DOCKER_USERNAME }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
id: matrix
run: |
echo 'matrix={
"os_name": ["alpine"],
"build_type": ["dev", "k8s"]
"build_type": ["dev", "k8s"],
"os_name": ["alpine"]
}' | tr -d '\n' >> "$GITHUB_OUTPUT"
- name: ⚙️ Get version for image tag
Expand All @@ -40,7 +40,7 @@ jobs:
push-to-hub: true
image-namespace: "wayofdev/nginx"
image-template-path: "./dist"
image-template: ${{ matrix.php_version }}-${{ matrix.php_type }}-${{ matrix.os_name }}
image-template: ${{ matrix.build_type }}-${{ matrix.os_name }}
image-version: ${{ needs.prepare.outputs.version }}
secrets:
docker-username: ${{ secrets.DOCKER_USERNAME }}
Expand Down

0 comments on commit e76da26

Please sign in to comment.