diff --git a/.github/actions/docker-build-and-push-cuda/action.yaml b/.github/actions/docker-build-and-push-cuda/action.yaml index 35419e96d0d..7f56adc3a82 100644 --- a/.github/actions/docker-build-and-push-cuda/action.yaml +++ b/.github/actions/docker-build-and-push-cuda/action.yaml @@ -11,9 +11,6 @@ inputs: build-args: description: "" required: false - dockerhub-token: - description: "" - required: true runs: using: composite @@ -58,7 +55,7 @@ runs: id: meta-universe-sensing-perception-devel-cuda uses: docker/metadata-action@v5 with: - images: ${{ github.repository_owner }}/${{ inputs.bake-target }} + images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | type=raw,value=universe-sensing-perception-devel-cuda-${{ inputs.platform }} type=raw,value=universe-sensing-perception-devel-cuda-${{ steps.date.outputs.date }}-${{ inputs.platform }} @@ -70,7 +67,7 @@ runs: id: meta-universe-sensing-perception-cuda uses: docker/metadata-action@v5 with: - images: ${{ github.repository_owner }}/${{ inputs.bake-target }} + images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | type=raw,value=universe-sensing-perception-cuda-${{ inputs.platform }} type=raw,value=universe-sensing-perception-cuda-${{ steps.date.outputs.date }}-${{ inputs.platform }} @@ -82,7 +79,7 @@ runs: id: meta-universe-devel-cuda uses: docker/metadata-action@v5 with: - images: ${{ github.repository_owner }}/${{ inputs.bake-target }} + images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | type=raw,value=universe-devel-cuda-${{ inputs.platform }} type=raw,value=universe-devel-cuda-${{ steps.date.outputs.date }}-${{ inputs.platform }} @@ -94,7 +91,7 @@ runs: id: meta-universe-cuda uses: docker/metadata-action@v5 with: - images: ${{ github.repository_owner }}/${{ inputs.bake-target }} + images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }} tags: | type=raw,value=universe-cuda-${{ inputs.platform }} type=raw,value=universe-cuda-${{ steps.date.outputs.date }}-${{ inputs.platform }} @@ -102,11 +99,12 @@ runs: flavor: | latest=auto - - name: Login to Docker Hub + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: + registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ inputs.dockerhub-token }} + password: ${{ github.token }} - name: Build and Push to GitHub Container Registry uses: docker/bake-action@v5