diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b68dce06..b2b87ff9 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -23,7 +23,6 @@ jobs: env: CONTAINER_NAME: voice-to-speech-app CONTAINER_REGISTRY: ghcr.io - CONTAINER_PATH: ${CONTAINER_REGISTRY}/${GITHUB_REPOSITORY}/${CONTAINER_NAME} steps: - name: App version run: echo "Picked the app version ${{ inputs.sha }}" @@ -43,6 +42,8 @@ jobs: - name: Publish to Registry if: inputs.docker-tag == '' uses: docker/build-push-action@v5 + env: + CONTAINER_PATH: ${{ env.CONTAINER_REGISTRY }}/${{ env.GITHUB_REPOSITORY }}/${{ env.CONTAINER_NAME }} with: context: . push: true @@ -53,6 +54,8 @@ jobs: - name: Publish to Registry and extra tag if: inputs.docker-tag != '' uses: docker/build-push-action@v5 + env: + CONTAINER_PATH: ${{ env.CONTAINER_REGISTRY }}/${{ env.GITHUB_REPOSITORY }}/${{ env.CONTAINER_NAME }} with: context: . push: true