diff --git a/.github/workflows/nightly-release.yaml b/.github/workflows/nightly-release.yaml index a5c511e..f362d84 100644 --- a/.github/workflows/nightly-release.yaml +++ b/.github/workflows/nightly-release.yaml @@ -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}" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1001a27..cf2a810 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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}" diff --git a/README.md b/README.md index 438a970..0b5ec10 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ The world's easiest, most powerful stock checker