Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dojyorin committed Mar 18, 2024
1 parent de6ec82 commit b1cbcc7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"jobs": {
"job": {
"name": "${{matrix.os}}:${{matrix.arch}}",
"name": "${{matrix.os}}-${{matrix.arch}}",
"runs-on": "ubuntu-latest",
"strategy": {
"fail-fast": true,
Expand All @@ -34,13 +34,17 @@
"name": "setup docker-qemu",
"uses": "docker/setup-qemu-action@v3"
}, {
"name": "build image",
"name": "setup docker-buildx",
"uses": "docker/setup-buildx-action@v3"
}, {
"name": "build and load image",
"uses": "docker/build-push-action@v5",
"with": {
"load": true,
"pull": true,
"no-cache": true,
"tags": "${{github.sha}}",
"platforms": "linux/${{matrix.arch}}",
"platforms": "linux/amd64,linux/arm64",
"context": "{{defaultContext}}:./src",
"file": "${{matrix.os}}.dockerfile",
"build-args": "DENO_VERSION=${{inputs.deno_version}}"
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
required: true
jobs:
job:
name: ${{matrix.os}}:${{matrix.arch}}
name: ${{matrix.os}}-${{matrix.arch}}
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand All @@ -23,13 +23,16 @@ jobs:
uses: actions/checkout@v4
- name: setup docker-qemu
uses: docker/setup-qemu-action@v3
- name: build image
- name: setup docker-buildx
uses: docker/setup-buildx-action@v3
- name: build and load image
uses: docker/build-push-action@v5
with:
load: true
pull: true
no-cache: true
tags: ${{github.sha}}
platforms: linux/${{matrix.arch}}
platforms: linux/amd64,linux/arm64
context: '{{defaultContext}}:./src'
file: ${{matrix.os}}.dockerfile
build-args: DENO_VERSION=${{inputs.deno_version}}
Expand Down

0 comments on commit b1cbcc7

Please sign in to comment.