Skip to content

Commit

Permalink
Merge pull request #60 from rustycl0ck/fix-github-workflow-secrets
Browse files Browse the repository at this point in the history
Fix the CI workflows to pass secrets
  • Loading branch information
rustycl0ck authored Jan 24, 2022
2 parents fb7444b + a4a810a commit 61106e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
description: The semantic tag version against which the release will be created
required: true
type: string
secrets:
DOCKER_USERNAME:
required: true
DOCKER_PASSWORD:
required: true
push:
tags:
- v*
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,8 @@ jobs:
needs: bump-tag
if: ${{ needs.bump-tag.outputs.new_version != null }}
uses: mercari/spanner-autoscaler/.github/workflows/release.yml@master
secrets:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
with:
version: ${{ needs.bump-tag.outputs.new_version }}

0 comments on commit 61106e2

Please sign in to comment.