diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccf22a6..06d8e40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,14 +30,15 @@ jobs: with: java-version: '17' distribution: 'temurin' - - name: Login to Docker Hub + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push Docker image uses: docker/build-push-action@v5 with: context: . push: true - tags: pischule/memevizor:latest + tags: ghcr.io/${{ github.repository_owner }}/memevizor:latest