Skip to content

Commit

Permalink
Rename some Docker Hub secrets in build and update GA workflows
Browse files Browse the repository at this point in the history
- Rename DOCKER_HUB_TOKEN to DOCKERHUB_TOKEN
- Rename DOCKER_HUB_USERNAME to DOCKERHUB_USERNAME
  • Loading branch information
victorpopkov committed Mar 15, 2024
1 parent 153029b commit 86ae646
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
uses: docker/login-action@v3
if: ${{ github.event_name != 'pull_request' }}
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GHCR
uses: docker/login-action@v3
if: ${{ github.event_name != 'pull_request' }}
Expand Down Expand Up @@ -140,8 +140,8 @@ jobs:
uses: docker/login-action@v3
if: ${{ github.event_name != 'pull_request' }}
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GHCR
uses: docker/login-action@v3
if: ${{ github.event_name != 'pull_request' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
uses: peter-evans/dockerhub-description@v3
if: ${{ !env.ACT }}
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ${{ github.repository_owner }}/terraria-server
short-description: Dockerized Terraria official and TShock servers.
readme-filepath: ./DOCKERHUB.md
Expand Down

0 comments on commit 86ae646

Please sign in to comment.