Skip to content

Commit

Permalink
Add login step to publish job (#147)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #147

Because we split the workflow into multiple jobs, we need to re-log in for each job

Reviewed By: wuman

Differential Revision: D35132962

fbshipit-source-id: 8646821387b59a54f04cbb12542b1645280cf80b
  • Loading branch information
adshastri authored and facebook-github-bot committed Mar 25, 2022
1 parent 2ecfee2 commit d37b4e5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,13 @@ jobs:
packages: write

steps:
- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Add tag to commit
id: tag_version
uses: mathieudutour/[email protected]
Expand Down

0 comments on commit d37b4e5

Please sign in to comment.