mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 01:47:39 +00:00
ci: fix docker release
This commit is contained in:
@@ -25,12 +25,10 @@ jobs:
|
||||
if: ${{ steps.release.outputs.release_created }}
|
||||
run: |
|
||||
docker build \
|
||||
-t "ghcr.io/${GITHUB_REPOSITORY}:${TAG_NAME}" \
|
||||
-t "ghcr.io/${GITHUB_REPOSITORY}:${{ steps.release.outputs.tag_name }}" \
|
||||
-t "ghcr.io/${GITHUB_REPOSITORY}:latest" .
|
||||
env:
|
||||
TAG_NAME: ${{ steps.release.outputs.tag_name }}
|
||||
- name: Release Docker image
|
||||
if: ${{ steps.release.outputs.release_created }}
|
||||
run: |
|
||||
docker push "ghcr.io/${GITHUB_REPOSITORY}:${TAG_NAME}"
|
||||
docker push "ghcr.io/${GITHUB_REPOSITORY}:${{ steps.release.outputs.tag_name }}"
|
||||
docker push "ghcr.io/${GITHUB_REPOSITORY}:latest"
|
||||
|
||||
Reference in New Issue
Block a user