mirror of
https://github.com/joaovitoriasilva/endurain.git
synced 2026-01-10 08:17:59 -05:00
Update docker-image.yml
This commit is contained in:
committed by
GitHub
parent
a810d390c8
commit
39393e2496
3
.github/workflows/docker-image.yml
vendored
3
.github/workflows/docker-image.yml
vendored
@@ -39,6 +39,9 @@ jobs:
|
||||
- name: Push the Docker image to GHCR
|
||||
if: success() && (github.event_name == 'release' || github.event_name == 'workflow_dispatch')
|
||||
run: |
|
||||
echo "github.event_name=${{ github.event_name }}"
|
||||
echo "IMAGE_TAG=${IMAGE_TAG}"
|
||||
echo "github.repository=${{ github.repository }}"
|
||||
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
|
||||
IMAGE_NAME="ghcr.io/${{ github.repository }}"
|
||||
docker tag ${{ github.repository }}:$IMAGE_TAG $IMAGE_NAME:$IMAGE_TAG
|
||||
|
||||
Reference in New Issue
Block a user