mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-15 17:50:49 +00:00
799da7cbb9
Use make for building our container image (through a new push-image.sh script) instead of building directly with docker. This way we avoid the container image tag naming hassle where we build and push the image on "image-pushing" prow job and need to be able to reliably re-create the same tag on the "testing" side for end-to-end tests. This also has the advantage that the same mechanism (make) is used everywhere, i.e. in image-pushing, testing and locally.
10 lines
283 B
YAML
10 lines
283 B
YAML
steps:
|
|
- name: gcr.io/k8s-testimages/gcb-docker-gcloud:v20200824-5d057db
|
|
entrypoint: scripts/test-infra/push-image.sh
|
|
env:
|
|
- IMAGE_EXTRA_TAG_NAMES=$_PULL_BASE_REF
|
|
substitutions:
|
|
_GIT_TAG: '0.0.0'
|
|
_PULL_BASE_REF: 'master'
|
|
options:
|
|
substitution_option: ALLOW_LOOSE
|