Skip to content

Commit

Permalink
fix(): Remove hardcoded name in GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
n0th1ng-else committed Mar 29, 2024
1 parent a24834e commit f1f59c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f1f59c1

Please sign in to comment.