mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 05:17:35 +00:00
ci: update verbiage for steps (#1721)
This commit is contained in:
@@ -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}"
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user