mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-03 18:55:39 +00:00
fix: remove dockerhub username
This commit is contained in:
@@ -67,6 +67,7 @@ on:
|
|||||||
type: boolean
|
type: boolean
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
DOCKERHUB_USERNAME: rustfs
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
REGISTRY_DOCKERHUB: rustfs/rustfs
|
REGISTRY_DOCKERHUB: rustfs/rustfs
|
||||||
REGISTRY_GHCR: ghcr.io/${{ github.repository }}
|
REGISTRY_GHCR: ghcr.io/${{ github.repository }}
|
||||||
@@ -236,7 +237,7 @@ jobs:
|
|||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ env.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
scopes: repository:rustfs/rustfs:pull,push
|
scopes: repository:rustfs/rustfs:pull,push
|
||||||
|
|
||||||
@@ -370,7 +371,7 @@ jobs:
|
|||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ env.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
# - name: Login to GitHub Container Registry
|
# - name: Login to GitHub Container Registry
|
||||||
|
|||||||
Reference in New Issue
Block a user