Skip to content

Commit

Permalink
Fix missing secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
a2ikm committed Sep 28, 2024
1 parent 36a572f commit b90963c
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-4-0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ jobs:
uses: ./.github/workflows/reusable--test-and-release.yaml
with:
version: "4.0"
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/ci-4-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ jobs:
uses: ./.github/workflows/reusable--test-and-release.yaml
with:
version: "4.2"
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/ci-4-4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ jobs:
uses: ./.github/workflows/reusable--test-and-release.yaml
with:
version: "4.4"
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/ci-5-0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ jobs:
uses: ./.github/workflows/reusable--test-and-release.yaml
with:
version: "5.0"
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/ci-6-0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ jobs:
uses: ./.github/workflows/reusable--test-and-release.yaml
with:
version: "6.0"
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/ci-7-0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ jobs:
uses: ./.github/workflows/reusable--test-and-release.yaml
with:
version: "7.0"
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
11 changes: 9 additions & 2 deletions .github/workflows/reusable--test-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ on:
type: string
required: true
description: Version of MongoDB to test and release
secrets:
dockerhub_username:
required: true
description: Docker Hub username
dockerhub_token:
required: true
description: Docker Hub token
jobs:
test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -60,8 +67,8 @@ jobs:
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
username: ${{ secrets.dockerhub_username }}
password: ${{ secrets.dockerhub_token }}
- uses: docker/build-push-action@v3
with:
context: ./src/${{ inputs.version }}
Expand Down

0 comments on commit b90963c

Please sign in to comment.