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