-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Proposal to add an image attribute for steps that can be used instead of the uses one, with the following:
steps:
- image:
name: myregistry.io/myorg/myrepo
tags:
- tag1
- tag2
dockerfile: path/to/dockerfile/Dockerfile.foo
context: ./
build_args:
ARG1: v14.2.9
ARG2: another arg
push: true
import_cache: docker.io/another/img:tag
export_cache: docker.io/an-image/toexport:tag # or the keyword 'inline'
# other step attributes as usual
runs: [cmd]
args: [--as, --usual]The above is inspired by docker-compose's syntax. The goal is to have an engine-independent way of specifying how to build images.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels