fix: follow redirects
This commit is contained in:
+8
-8
@@ -1,18 +1,18 @@
|
|||||||
name: 'Dockerfile test build'
|
name: "Dockerfile test build"
|
||||||
description: 'Test build of Dockerfile'
|
description: "Test build of Dockerfile"
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
buildkit_version:
|
buildkit_version:
|
||||||
description: 'Buildkit version'
|
description: "Buildkit version"
|
||||||
required: true
|
required: true
|
||||||
context:
|
context:
|
||||||
description: 'Build context'
|
description: "Build context"
|
||||||
required: true
|
required: true
|
||||||
default: '.'
|
default: "."
|
||||||
dockerfile:
|
dockerfile:
|
||||||
description: 'Dockerfile name'
|
description: "Dockerfile name"
|
||||||
required: true
|
required: true
|
||||||
default: '.'
|
default: "."
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
@@ -25,7 +25,7 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
[ -f /var/lib/buildkit/buildkit.tar.gz ] || \
|
[ -f /var/lib/buildkit/buildkit.tar.gz ] || \
|
||||||
curl --fail-with-body --output /var/lib/buildkit/buildkit.tar.gz \
|
curl --fail-with-body -L --output /var/lib/buildkit/buildkit.tar.gz \
|
||||||
"https://github.com/moby/buildkit/releases/download/${{ inputs.buildkit_version }}/buildkit-${{ inputs.buildkit_version }}.linux-amd64.tar.gz"
|
"https://github.com/moby/buildkit/releases/download/${{ inputs.buildkit_version }}/buildkit-${{ inputs.buildkit_version }}.linux-amd64.tar.gz"
|
||||||
|
|
||||||
- name: Extract buildkit binaries
|
- name: Extract buildkit binaries
|
||||||
|
|||||||
Reference in New Issue
Block a user