Update docker-push.yml

This commit is contained in:
2023-06-12 15:02:27 +10:00
committed by GitHub
parent 88bcefdc5a
commit bcf9301626

View File

@@ -22,7 +22,7 @@ jobs:
- name: Set up environment variables - name: Set up environment variables
id: env id: env
run: | run: |
echo "IMAGE_TAG=${{ github.event.release.tag_name }}" >> $GITHUB_ENV echo "IMAGE_TAG=api-websocket-bridge-${{ github.event.release.tag_name }}" >> $GITHUB_ENV
- name: Build and push Docker image to Docker Hub - name: Build and push Docker image to Docker Hub
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
@@ -43,4 +43,4 @@ jobs:
with: with:
context: . context: .
push: true push: true
tags: ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }} tags: ghcr.io/${{ github.repository }}/api-websocket-bridge:${{ env.IMAGE_TAG }}