Switch to new build method.
This commit is contained in:
parent
4a5bfd6027
commit
5ca19483fa
1 changed files with 2 additions and 15 deletions
|
@ -23,7 +23,7 @@ jobs:
|
|||
image_resource:
|
||||
type: registry-image
|
||||
source:
|
||||
repository: alpine
|
||||
repository: alpine/git
|
||||
inputs:
|
||||
- name: source
|
||||
path: .
|
||||
|
@ -35,7 +35,6 @@ jobs:
|
|||
- -c
|
||||
- |
|
||||
#!/usr/bin/env sh
|
||||
apk add --no-cache git
|
||||
git rev-parse --short HEAD > docker-tags/tags.txt
|
||||
- task: build
|
||||
privileged: true
|
||||
|
@ -60,16 +59,4 @@ jobs:
|
|||
context: .
|
||||
manual: false
|
||||
run:
|
||||
path: entrypoint.sh
|
||||
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
|
||||
path: build
|
||||
|
|
Reference in a new issue