fix: follow redirects
This commit is contained in:
+9
-9
@@ -1,18 +1,18 @@
|
||||
name: 'Dockerfile test build'
|
||||
description: 'Test build of Dockerfile'
|
||||
name: "Dockerfile test build"
|
||||
description: "Test build of Dockerfile"
|
||||
|
||||
inputs:
|
||||
buildkit_version:
|
||||
description: 'Buildkit version'
|
||||
description: "Buildkit version"
|
||||
required: true
|
||||
context:
|
||||
description: 'Build context'
|
||||
description: "Build context"
|
||||
required: true
|
||||
default: '.'
|
||||
default: "."
|
||||
dockerfile:
|
||||
description: 'Dockerfile name'
|
||||
description: "Dockerfile name"
|
||||
required: true
|
||||
default: '.'
|
||||
default: "."
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
@@ -25,7 +25,7 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
[ -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"
|
||||
|
||||
- name: Extract buildkit binaries
|
||||
@@ -43,4 +43,4 @@ runs:
|
||||
/var/lib/buildkit/bin/buildctl build \
|
||||
--frontend=dockerfile.v0 \
|
||||
--local context=${{ inputs.context }} \
|
||||
--local dockerfile=${{ inputs.dockerfile }}
|
||||
--local dockerfile=${{ inputs.dockerfile }}
|
||||
|
||||
Reference in New Issue
Block a user