mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-17 11:57:12 +03:00
Fix scorecard version
in Scorecard Docker images (#1480)
Co-authored-by: Azeem Shaikh <azeems@google.com>
This commit is contained in:
parent
361fbd0fc9
commit
b6272c79e1
@ -12,23 +12,13 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
build:
|
steps:
|
||||||
images:
|
- id: 'Get Git history'
|
||||||
- gcr.io/openssf/scorecard:$TAG_NAME
|
name: 'gcr.io/cloud-builders/git'
|
||||||
options: {}
|
args: ['fetch', '--unshallow', '--tags', 'origin', '$COMMIT_SHA']
|
||||||
steps:
|
- name: 'gcr.io/cloud-builders/docker'
|
||||||
- args:
|
args: ['build', '.',
|
||||||
- build
|
'-t', 'gcr.io/openssf/scorecard:stable',
|
||||||
- -t
|
'-t', 'gcr.io/openssf/scorecard:$TAG_NAME',
|
||||||
- gcr.io/openssf/scorecard:$TAG_NAME
|
'-f', 'Dockerfile']
|
||||||
- .
|
images: ['gcr.io/openssf/scorecard']
|
||||||
name: gcr.io/cloud-builders/docker
|
|
||||||
description: scorecard build based on tag
|
|
||||||
github:
|
|
||||||
name: scorecard
|
|
||||||
owner: ossf
|
|
||||||
push:
|
|
||||||
tag: .*
|
|
||||||
name: scorecard-tag
|
|
||||||
tags:
|
|
||||||
- v*
|
|
||||||
|
@ -13,6 +13,9 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- id: 'Get Git history'
|
||||||
|
name: 'gcr.io/cloud-builders/git'
|
||||||
|
args: ['fetch', '--unshallow', '--tags', 'origin', '$COMMIT_SHA']
|
||||||
- name: 'gcr.io/cloud-builders/docker'
|
- name: 'gcr.io/cloud-builders/docker'
|
||||||
args: ['build', '.',
|
args: ['build', '.',
|
||||||
'-t', 'gcr.io/openssf/scorecard:latest',
|
'-t', 'gcr.io/openssf/scorecard:latest',
|
||||||
|
Loading…
Reference in New Issue
Block a user