diff --git a/.github/workflows/build-and-deploy.yaml b/.github/workflows/build-and-deploy.yaml index 6601b0a..cf6f3be 100644 --- a/.github/workflows/build-and-deploy.yaml +++ b/.github/workflows/build-and-deploy.yaml @@ -29,11 +29,10 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push Docker image + - name: Build and Push Docker Image run: | - IMAGE_NAME="ghcr.io/${{ github.repository }}:$VERSION" - docker build -t $IMAGE_NAME . - docker push $IMAGE_NAME + docker build -t ghcr.io/${{ github.repository }}:$VERSION . + docker push ghcr.io/${{ github.repository }}:$VERSION - name: Set up kubeconfig from secret run: |