diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ff44298..f7cdc32 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v3 - name: Login to Github Repo run: | - docker login ghcr.io -u $REPO_USERNAME -p ${{ secrets.GITHUB_TOKEN }} + docker login -u $REPO_USERNAME -p ${{ secrets.GITHUB_TOKEN }} ghcr.io - name: Build the Docker image run: docker build . --file Dockerfile --tag ghcr.io/$REPO_USERNAME/$IMAGE_NAME:$GITHUB_SHA --tag ghcr.io/$REPO_USERNAME/$IMAGE_NAME:latest - name: Push to Github Repo