-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docker): Use consistent naming and descriptions
Signed-off-by: Helio Chissini de Castro <[email protected]>
- Loading branch information
1 parent
da16b46
commit 0e19bbc
Showing
5 changed files
with
52 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,13 @@ | |
# SPDX-License-Identifier: Apache-2.0 | ||
# License-Filename: LICENSE | ||
|
||
name: "ORT Docker Image" | ||
description: "Check and create docker image for Ort components" | ||
author: "Helio Chissini de Castro <[email protected]>" | ||
name: "ORT Docker image" | ||
description: "Check and create Docker image for ORT components" | ||
author: "The ORT Project Authors" | ||
|
||
inputs: | ||
registry: | ||
description: "GitHub Container Registry" | ||
description: "GitHub container registry" | ||
default: "ghcr.io" | ||
token: | ||
description: "GitHub token" | ||
|
@@ -61,19 +61,19 @@ runs: | |
echo $result | ||
echo "result=$result" >> $GITHUB_OUTPUT | ||
- name: Set up Docker Buildx | ||
- name: Set up Docker build | ||
if: steps.check_image.outputs.result != 'found' | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Login to GitHub Container Registry | ||
- name: Login to GitHub container registry | ||
if: steps.check_image.outputs.result != 'found' | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ${{ inputs.registry }} | ||
username: ${{ github.actor }} | ||
password: ${{ inputs.token }} | ||
|
||
- name: Extract components metadata (tags, labels) for base image | ||
- name: Extract components metadata (tags, labels) | ||
if: steps.check_image.outputs.result != 'found' | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
|
@@ -83,7 +83,7 @@ runs: | |
tags: | ||
type=raw,value=${{ inputs.version }} | ||
|
||
- name: Build ORT Base container | ||
- name: Build image | ||
if: steps.check_image.outputs.result != 'found' | ||
uses: docker/build-push-action@v4 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.