Switch to new build method.

This commit is contained in:
redxef 2022-03-09 16:41:20 +01:00
parent 4a5bfd6027
commit 5ca19483fa
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -23,7 +23,7 @@ jobs:
image_resource: image_resource:
type: registry-image type: registry-image
source: source:
repository: alpine repository: alpine/git
inputs: inputs:
- name: source - name: source
path: . path: .
@ -35,7 +35,6 @@ jobs:
- -c - -c
- | - |
#!/usr/bin/env sh #!/usr/bin/env sh
apk add --no-cache git
git rev-parse --short HEAD > docker-tags/tags.txt git rev-parse --short HEAD > docker-tags/tags.txt
- task: build - task: build
privileged: true privileged: true
@ -60,16 +59,4 @@ jobs:
context: . context: .
manual: false manual: false
run: run:
path: entrypoint.sh path: build
args:
- build
- --frontend
- dockerfile.v0
- --local
- context=.
- --local
- dockerfile=.
- --opt
- platform=aarch64,arm,ppc64le,s390x,x86_64
- --output
- type=image,name=docker.io/redxef/concourse-buildkit,push=true