Skip to content

Commit

Permalink
Fix Dockerhub secret env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
crinis committed Jun 24, 2023
1 parent 1480f4e commit 628218e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-latest-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand All @@ -44,6 +44,6 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/sourcebans:${{ env.RELEASE_TAG }}, ${{ secrets.DOCKER_HUB_USERNAME }}/sourcebans:latest, ${{ secrets.DOCKER_HUB_USERNAME }}/sourcebans:${{ github.run_id }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sourcebans:${{ env.RELEASE_TAG }}, ${{ secrets.DOCKERHUB_USERNAME }}/sourcebans:latest, ${{ secrets.DOCKERHUB_USERNAME }}/sourcebans:${{ github.run_id }}
build-args: |
CHECKOUT=${{ env.SOURCEBANS_VERSION }}
6 changes: 3 additions & 3 deletions .github/workflows/build-sb-dev-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand All @@ -31,6 +31,6 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/sourcebans:sb-dev, ${{ secrets.DOCKER_HUB_USERNAME }}/sourcebans:sb-dev-${{ github.run_id }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sourcebans:sb-dev, ${{ secrets.DOCKERHUB_USERNAME }}/sourcebans:sb-dev-${{ github.run_id }}
build-args: |
CHECKOUT=php81
6 changes: 3 additions & 3 deletions .github/workflows/build-sb-latest-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand All @@ -35,6 +35,6 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/sourcebans:sb-${{ env.SB_TAG }}, ${{ secrets.DOCKER_HUB_USERNAME }}/sourcebans:sb-latest, ${{ secrets.DOCKER_HUB_USERNAME }}/sourcebans:sb-${{ github.run_id }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sourcebans:sb-${{ env.SB_TAG }}, ${{ secrets.DOCKERHUB_USERNAME }}/sourcebans:sb-latest, ${{ secrets.DOCKERHUB_USERNAME }}/sourcebans:sb-${{ github.run_id }}
build-args: |
CHECKOUT=${{ env.SB_TAG }}

0 comments on commit 628218e

Please sign in to comment.