diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a859dd13..8b1a9aa4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,8 @@ name: Release env: - REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} + ORG_NAME: ${{ github.repository_owner }} + IMAGE_NAME: ${{ github.event.repository.name }} on: push: @@ -55,9 +55,8 @@ jobs: - name: Login to DockerHub uses: docker/login-action@v3 with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Run migrations run: | @@ -70,8 +69,8 @@ jobs: push: true file: "./debian.Dockerfile" tags: | - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }} + ${{ env.ORG_NAME }}/${{ env.IMAGE_NAME }}:latest + ${{ env.ORG_NAME }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }} # We don't use the Rust client for now # To re-enable later