ci: update verbiage for steps (#1721)

This commit is contained in:
Jef LeCompte
2021-01-17 16:07:06 -05:00
committed by GitHub
parent 8ece4b6412
commit 05720e519b
3 changed files with 8 additions and 7 deletions
+3 -3
View File
@@ -4,8 +4,8 @@ on:
- cron: '0 0 * * *'
workflow_dispatch: {}
jobs:
build-publish:
name: Build and publish nightly Docker image
build-release:
name: Build and release Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout repository
@@ -17,5 +17,5 @@ jobs:
docker build \
-t "ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_SHA:0:7}" \
-t "ghcr.io/${GITHUB_REPOSITORY}:nightly" .
- name: Publish Docker image
- name: Release Docker image
run: docker push "ghcr.io/${GITHUB_REPOSITORY}"
+3 -2
View File
@@ -4,7 +4,8 @@ on:
branches:
- main
jobs:
publish:
build-tag-release:
name: Build, tag, and release Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout repository
@@ -28,6 +29,6 @@ jobs:
-t "ghcr.io/${GITHUB_REPOSITORY}:latest" .
env:
TAG_NAME: ${{ steps.release.outputs.tag_name }}
- name: Publish Docker image
- name: Release Docker image
if: ${{ steps.release.outputs.release_created }}
run: docker push "ghcr.io/${GITHUB_REPOSITORY}"
+2 -2
View File
@@ -9,8 +9,8 @@
<strong>The world's easiest, most powerful stock checker</strong>
</p>
<p align="center">
<a href="https://github.com/jef/streetmerchant/actions?query=workflow%3Aci"
><img src="https://github.com/jef/streetmerchant/workflows/ci/badge.svg"
<a href="https://github.com/jef/streetmerchant/actions?query=workflow%3ARelease"
><img src="https://github.com/jef/streetmerchant/workflows/Release/badge.svg"
/></a>
<a href="https://discord.gg/gbVY4vB9JF"
><img