Skip to content

Commit

Permalink
Update Docker image tags in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vpgits committed Jan 30, 2024
1 parent 681a0b2 commit 170a56f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: docker/build-push-action@v4
with:
push: true
tags: ghcr.io/${{ github.repository }}:${{ (github.event_name == 'release' && github.event.release.tag_name) || (github.event_name == 'workflow_dispatch' && github.event.inputs.image_tag) || 'dev' }}
tags: ${{ secrets.DOCKERHUB_REPO }}/${{ vars.DOCKERHUB_IMG }}:${{ (github.event_name == 'release' && github.event.release.tag_name) || (github.event_name == 'workflow_dispatch' && github.event.inputs.image_tag) || 'dev' }}
build-args: |
GH_ORG=${{secrets.GH_ORG}}
GH_EMAIL=${{secrets.GH_EMAIL}}
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ ARG GH_ORG
ARG GH_EMAIL
ARG HUGGINGFACE_PAT

RUN echo "GH_ORG: $GH_ORG" && \
echo "GH_EMAIL: $GH_EMAIL"

# Add src files (Worker Template)
ADD src .

Expand Down

0 comments on commit 170a56f

Please sign in to comment.